aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.dot/awesome.link/keys.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua
index 4d4a546..9a2f45a 100644
--- a/config.dot/awesome.link/keys.lua
+++ b/config.dot/awesome.link/keys.lua
@@ -27,11 +27,15 @@ globalkeys = awful.util.table.join(root.keys(),
{description = "toggle display", group = "client"}
),
- -- Volume keys
+ -- Volume
awful.key({ }, "XF86AudioRaiseVolume", function () awful.spawn("amixer set Master 9%+", false) end, {description = "volume up", group = "client"}),
awful.key({ }, "XF86AudioLowerVolume", function () awful.spawn("amixer set Master 9%-", false) end, {description = "volume down", group = "client"}),
awful.key({ }, "XF86AudioMute", function () awful.spawn("amixer set Master toggle", false) end, {description = "mute", group = "client"}),
+ -- Brightness
+ awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("xbrightness -10%") end),
+ awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("xbrightness +10%") end),
+
-- Hibernate
awful.key({ }, "XF86Launch1", function () awful.spawn("xhibernate") end, {description = "", group = "client"}),