fix: hotkeys for adjust screen brightness

This commit is contained in:
Klesh Wong 2022-05-22 23:38:05 +08:00
parent 8c45c4c4ad
commit 83809467f9

View File

@ -415,10 +415,10 @@ globalkeys = gears.table.join(
{ description = 'volume down', group = 'hotkeys'} ),
awful.key({ modkey }, '\\', function() awful.spawn.with_shell("mpc toggle") end,
{ description = 'toggle play', group = 'hotkeys'} ),
awful.key({ modkey }, ')', function() awful.spawn.with_shell("sudo light -A 5") end,
{ description = 'increase backlight', group = 'control'} ),
awful.key({ modkey }, '(', function() awful.spawn.with_shell("sudo light -U 5") end,
awful.key({ modkey }, '9', function() awful.spawn.with_shell("sudo light -U 5") end,
{ description = 'decrease backlight', group = 'control'} ),
awful.key({ modkey }, '0', function() awful.spawn.with_shell("sudo light -A 5") end,
{ description = 'increase backlight', group = 'control'} ),
--awful.key({ modkey, }, "s", hotkeys_popup.show_help,
--{description = "show help", group="awesome"}),
awful.key({ modkey, }, "comma", awful.tag.viewprev,