You are not logged in.
Pages: 1
so...recently switched to awesome, and I'm stealing some configs
but I'm confused as to what exactly the following means...can someone enlighten me?
keynumber = 9
for i = 1, keynumber do
keybinding({ modMask }, "F"..i,
function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewonly(tags[screen][i])
end
end):add()
keybinding({ modMask, "Control" }, "F"..i,
function ()
local screen = mouse.screen
if tags[screen][i] then
tags[screen][i].selected = not tags[screen][i].selected
end
end):add()
keybinding({ modMask, "Shift" }, "F"..i,
function ()
if client.focus then
if tags[client.focus.screen][i] then
awful.client.movetotag(tags[client.focus.screen][i])
end
end
end):add()
end
keybinding({ modMask } , "b" , function ()
if statusbar[mouse.screen].screen == nil then
statusbar[mouse.screen].screen = mouse.screen
else
statusbar[mouse.screen].screen = nil
end
end):add()
Last edited by Stythys (2008-11-10 19:34:30)
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
The first keybinding:
Will bind mod4+F1 to F9 to switching to tag 1-9
Second one:
Will bind mod4+control+F1 to F9 to also view tag 1-9
Third:
Binds mod4+shift+F1 to F9 to moving the current client to tag 1-9
Last:
Binds mod4+b to hiding or showing the statusbar
Hope that is clear.
Offline
ohhhhhh its the F keys...I get it now xD
thx Gigamo
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
Pages: 1