J'essaie de me familiariser avec awesome, et en particulier avec shifty pour le moment. J'ai donc repris le example.rc.lua qui accompagne shifty, mais j'ai l'impression que certains raccourcis ne fonctionnent pas. Voici mon rc.lua http://codepad.org/HGCMiT0g.
Les lignes qui posent problème vont de 462 à 492 :
Code : Tout sélectionner
-- SHIFTY: assign client keys to shifty for use in
-- match() function(manage hook)
shifty.config.clientkeys = clientkeys
shifty.config.modkey = modkey
-- Compute the maximum number of digit we need, limited to 9
for i = 1, (shifty.config.maxtags or 9) do
globalkeys = awful.util.table.join(globalkeys,
awful.key({modkey}, i, function()
local t = awful.tag.viewonly(shifty.getpos(i))
end),
awful.key({modkey, "Control"}, i, function()
local t = shifty.getpos(i)
t.selected = not t.selected
end),
awful.key({modkey, "Control", "Shift"}, i, function()
if client.focus then
awful.client.toggletag(shifty.getpos(i))
end
end),
-- move clients to other tags
awful.key({modkey, "Shift"}, i, function()
if client.focus then
t = shifty.getpos(i)
awful.client.movetotag(t)
awful.tag.viewonly(t)
end
end))
end
J'en profite pour poser une question supplémentaire : comment faire pour qu'un client puisse avoir plusieurs tags ?
Merci