Ticket #48931: patch-awesomerc.lua.in.diff
File patch-awesomerc.lua.in.diff, 1.5 KB (added by jwatzman@…, 9 years ago) |
---|
-
awesomerc.lua.in
old new 300 300 for i = 1, 9 do 301 301 globalkeys = awful.util.table.join(globalkeys, 302 302 -- View tag only. 303 awful.key({ modkey }, " #" .. i + 9,303 awful.key({ modkey }, "" .. i + 9, 304 304 function () 305 305 local screen = mouse.screen 306 306 local tag = awful.tag.gettags(screen)[i] … … 309 309 end 310 310 end), 311 311 -- Toggle tag. 312 awful.key({ modkey, "Control" }, " #" .. i + 9,312 awful.key({ modkey, "Control" }, "" .. i + 9, 313 313 function () 314 314 local screen = mouse.screen 315 315 local tag = awful.tag.gettags(screen)[i] … … 318 318 end 319 319 end), 320 320 -- Move client to tag. 321 awful.key({ modkey, "Shift" }, " #" .. i + 9,321 awful.key({ modkey, "Shift" }, "" .. i + 9, 322 322 function () 323 323 if client.focus then 324 324 local tag = awful.tag.gettags(client.focus.screen)[i] … … 328 328 end 329 329 end), 330 330 -- Toggle tag. 331 awful.key({ modkey, "Control", "Shift" }, " #" .. i + 9,331 awful.key({ modkey, "Control", "Shift" }, "" .. i + 9, 332 332 function () 333 333 if client.focus then 334 334 local tag = awful.tag.gettags(client.focus.screen)[i]