sunaku / wmiirc

Ruby configuration for WMII window manager
ISC License
82 stars 26 forks source link
ruby window-manager yaml-configuration

sunaku's wmii configuration in Ruby and YAML

Floating Tiling

This is a Ruby and YAML based configuration of the wmii window manager. It manipulates wmii through the Rumai library (which speaks directly to wmii via the 9P2000 protocol and features an interactive Ruby shell for live experimentation) and offers a near "Desktop Environment" experience:

All of this can be configured to suit your needs, of course. This wmii configuration was also described in the following articles in the past:

API documentation for Ruby code that powers this configuration is here:


Requirements


Installing

Backup:

mv ~/.wmii ~/.wmii.backup
mv ~/.wmii-hg ~/.wmii-hg.backup

Install:

git clone https://github.com/sunaku/wmiirc.git ~/.wmii
ln -s ~/.wmii ~/.wmii-hg

Branch:

cd ~/.wmii
make branch

Configuring

Configuration File Format

All Ruby code snippets in the configuration file have access to a CONFIG constant which contains the data from the fully expanded configuration. They also have access to a SESSION constant which is a hash that is automatically persisted across multiple instances of the wmiirc.


Running


Upgrading

cd ~/.wmii
make rebase

If this fails because Git reports that you have unstaged changes, you can stash your changes away temporarily and restore them after the upgrade:

git stash
make rebase # now it works
git stash apply

Hacking

To use the development version of Rumai directly from its source code repository (instead of the currently published gem version), run this:

cd ~/.wmii
make rumai

Contributing

Fork this project on GitHub and send pull requests.


Bugs, Features, Issues, Questions

File a report on the issue tracker.


License

Like my work? :+1: Please spare a life today as thanks! :cow::pig::chicken::fish::speak_no_evil::v::revolving_hearts:

Copyright 2006 Suraj N. Kurapati https://github.com/sunaku

Released under the ISC license. See the LICENSE file for details.