mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
Added default shortcuts for backlight handling
This commit is contained in:
parent
854d58a9d2
commit
111ce4db05
|
@ -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, }, "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),
|
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
|
-- ALSA volume control
|
||||||
awful.key({ altkey }, "Up",
|
awful.key({ altkey }, "Up",
|
||||||
function ()
|
function ()
|
||||||
|
|
Loading…
Reference in a new issue