From a0ef6996a292597190d3f1168ea60a56f8fb8872 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 2 Sep 2020 15:56:52 +0200 Subject: qtile added volume control --- .config/qtile/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index fea7b4e..1d5fbc4 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -46,6 +46,12 @@ keys = [ #MY KEYS Key([mod], "t", lazy.window.toggle_floating(), desc="Toggle floating"), + Key([mod], "h", lazy.spawn("amixer -q sset Master 5%+"), + desc="Increase volume"), + Key([mod], "n", lazy.spawn("amixer -q sset Master 5%-"), + desc="Decrease volume"), + Key([mod], "m", lazy.spawn("amixer -q sset Master toggle"), + desc="Toggle mute"), ######## # Switch between windows in current stack pane -- cgit v1.2.3