|
|
@ -1,5 +1,6 @@ |
|
|
|
local awful = require("awful") |
|
|
|
local gears = require("gears") |
|
|
|
local debug = require("libs.debug") |
|
|
|
|
|
|
|
local globalkeys = gears.table.join( |
|
|
|
awful.key({ global.modkey, }, "Left", awful.tag.viewprev, |
|
|
@ -76,7 +77,21 @@ local globalkeys = gears.table.join( |
|
|
|
) |
|
|
|
end |
|
|
|
end, |
|
|
|
{description = "restore minimized", group = "client"}) |
|
|
|
{description = "restore minimized", group = "client"}), |
|
|
|
awful.key({global.modkey,"Control" }, "s", function() |
|
|
|
debug.print_awesome_memory_stats("Precollect") |
|
|
|
collectgarbage("collect") |
|
|
|
collectgarbage("collect") |
|
|
|
gears.timer { |
|
|
|
callback = function() |
|
|
|
debug.print_awesome_memory_stats("Postcollect") |
|
|
|
return false |
|
|
|
end, |
|
|
|
timeout = 5, |
|
|
|
autostart = true, |
|
|
|
single_shot = true |
|
|
|
} |
|
|
|
end, {description = "print awesome wm memory statistics", group="awesome"}) |
|
|
|
) |
|
|
|
|
|
|
|
-- Bind all key numbers to tags. |
|
|
@ -127,6 +142,7 @@ for i = 1, 9 do |
|
|
|
end, |
|
|
|
{description = "toggle focused client on tag #" .. i, group = "tag"}) |
|
|
|
) |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
return globalkeys |