aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/awesome/rc.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index c9ae768..dc109c7 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -186,7 +186,16 @@ globalkeys = gears.table.join(
-- Widgets
awful.key({ modkey }, "space", function () mykeyboardlayout.next_layout() end,
- {description = "next keyboard layout", group = "widgets"})
+ {description = "next keyboard layout", group = "widgets"}),
+
+ -- Audio
+ awful.key({ modkey }, "h", function () awful.spawn("amixer -q sset Master 1%+") end,
+ {description = "Increase volume", group = "widgets"}),
+ awful.key({ modkey }, "n", function () awful.spawn("amixer -q sset Master 1%-") end,
+ {description = "Decrease volume", group = "widgets"}),
+ awful.key({ modkey }, "m", function () awful.spawn("amixer -q sset Master toggle") end,
+ {description = "Toggle mute", group = "widgets"})
+
)
clientkeys = gears.table.join(