Add awesome full-screen

This commit is contained in:
Thomas Avé 2023-12-01 21:12:21 +01:00
parent 79609ea132
commit 2f0c0617d8
1 changed files with 9 additions and 7 deletions

View File

@ -258,13 +258,6 @@ keys.globalkeys = gears.table.join(
{description = "-10%", group = "hotkeys"}
),
-- Brightness
awful.key({ }, "XF86MonBrightnessDown", function ()
awful.spawn("xbacklight -dec 15") end),
awful.key({ }, "XF86MonBrightnessUp", function ()
awful.spawn("xbacklight -inc 15") end),
-- ALSA volume control
awful.key({}, "XF86AudioRaiseVolume",
function()
@ -665,6 +658,15 @@ keys.clientkeys = gears.table.join(
c:raise()
end,
{description = "(un)maximize", group = "client"}
),
-- Full Screen
awful.key({modkey}, "F11",
function(c)
c.fullscreen = not c.fullscreen
c:raise()
end,
{description = "(un)fullscreen", group = "client"}
)
)