Merge pull request #197 from xarkes/backlight

Added default shortcuts for backlight handling
This commit is contained in:
Luke Bonham 2017-09-21 13:11:04 +02:00 committed by GitHub
commit be1478c633
1 changed files with 4 additions and 0 deletions

View File

@ -353,6 +353,10 @@ globalkeys = awful.util.table.join(
awful.key({ altkey, }, "h", function () if beautiful.fs then beautiful.fs.show(7) end end),
awful.key({ altkey, }, "w", function () if beautiful.weather then beautiful.weather.show(7) end end),
-- Brightness
awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("xbacklight -inc 10") end),
awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("xbacklight -dec 10") end),
-- ALSA volume control
awful.key({ altkey }, "Up",
function ()