From 4a3764c0d2b04eb22695c2298a63905478976c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 2 Apr 2020 12:00:56 +0200 Subject: config/i3: switch from pactl to amixer for sound setting --- config/i3/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/i3/config b/config/i3/config index aa4adec..4beb037 100644 --- a/config/i3/config +++ b/config/i3/config @@ -165,9 +165,9 @@ mode "resize" { bindsym $mod+r mode "resize" # Pulse audio control -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -RTMIN+10 i3blocks -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -RTMIN+10 i3blocks +bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q set Master 5%+ unmute && pkill -RTMIN+10 i3blocks +bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q set Master 5%- unmute && pkill -RTMIN+10 i3blocks +bindsym XF86AudioMute exec --no-startup-id amixer -q set Master toggle && pkill -RTMIN+10 i3blocks # Run pulsemixer bindsym $mod+p exec urxvt -title "Pulsemixer" -e pulsemixer -- cgit v1.2.3