Update README.md

This commit is contained in:
jinleileiking 2012-03-13 14:31:58 +08:00
parent 1131fb792e
commit 5c5e9a5d70
1 changed files with 14 additions and 3 deletions

View File

@ -12,14 +12,25 @@ Provides Mac OSX like 'Expose' view of all clients.
git clone https://bioe007@github.com/bioe007/awesome-revelation.git
2. put near the top of your rc.lua require("revelation")
3. Make a global keybinding for revelation in your rc.lua:
3. Make a global keybinding (ModKey + e) for revelation in your rc.lua:
globalkeys = awful.util.table.join(
awful.key({ modkey, }, "Left", awful.tag.viewprev ),
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
awful.key({ modkey}, "e", revelation), -- Insert this line
awful.key({ modkey, }, "j",
function ()
awful.client.focus.byidx( 1)
if client.focus then client.focus:raise() end
end),
awful.key({modkey}, "e", revelation)
**NOTE:** Always double check this key binding syntax against the version of
Awesome that you are using.
4. Reload rc.lua and try the keybinding.
4. Reload rc.lua and try the keybinding (Press Modkey + e).
It should bring all clients to the current tag and set the layout to fair. You
can focus clients with __cursor__ or __hjkl__ keys then press __Enter__ or