From 457b9675926395af6fb86b9dff279850b7fb8523 Mon Sep 17 00:00:00 2001 From: finga Date: Thu, 11 Nov 2021 12:53:13 +0100 Subject: [PATCH] Add volume +/- 1% to media keys To be able to +/- volume more accurate. --- .config/i3/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index df5aef1..24af527 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -156,6 +156,8 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu set $refresh_i3status killall -SIGUSR1 i3status-rs bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status +bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1% && $refresh_i3status +bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1% && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioNext exec --no-startup-id mpc next