From 83809467f9c9926a13e1840db50be1941090f33f Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sun, 22 May 2022 23:38:05 +0800 Subject: [PATCH] fix: hotkeys for adjust screen brightness --- gui/awesome/rc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/awesome/rc.lua b/gui/awesome/rc.lua index 6eb403f..b1ef7c9 100644 --- a/gui/awesome/rc.lua +++ b/gui/awesome/rc.lua @@ -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,