1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2025-01-10 17:58:09 +00:00

add backlight support

This commit is contained in:
dongkc 2015-12-24 18:35:07 +08:00
parent 40322d67da
commit bc83e9fc52

4
rc.lua
View file

@ -512,6 +512,10 @@ globalkeys = awful.util.table.join(
volumewidget.update()
end),
-- BACKLIGHT control
awful.key({ }, "XF86MonBrightnessUp", function() os.execute("xbacklight -inc 5") end),
awful.key({ }, "XF86MonBrightnessDown", function() os.execute("xbacklight -dec 5") end),
-- MPD control
awful.key({ altkey, "Control" }, "Up",
function ()