| Class | Awesomer |
| In: |
lib/awesomer.rb
|
| Parent: | Object |
Awesomer is a ruby library for interacting with the awesome window manager. It replaces the +awesome-client+ distributed with the window manager.
It‘s used by either creating a new Awesomer object, connecting, performing actions, and lastly close the connection:
a = Awesomer.new a.connect a.tag_view 2 sleep 1 a.tag_view 3 a.close
A better way to handle this is to contact the window manager using a block. Connecting and closing are then handled automatically:
Awesomer.contact do |a| a.tag_view 4 a.spawn :urxvt sleep 3 a.tag_view 5 a.spawn :urxvt end
| VERSION | = | '1.1.0' |
| screen | [RW] | |
| socket | [RW] | |
| statusbar | [RW] |