From faa502b08195084da4fa1837d731107020ba2728 Mon Sep 17 00:00:00 2001 From: finga Date: Thu, 7 Oct 2021 11:28:41 +0200 Subject: [PATCH] Add audio volume control --- .config/i3/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 016290d..6a53e69 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -152,6 +152,11 @@ bindsym $mod+Control+v exec "ibus engine Unikey" # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +# volume keys: mute, lower highter +bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" +bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" +bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" + # open login screen on another vt (virtual terminal) bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"