aboutsummaryrefslogtreecommitdiff
path: root/config/i3
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-04-02 12:00:56 +0200
committerKarel Kočí <cynerd@email.cz>2020-04-02 12:00:56 +0200
commit4a3764c0d2b04eb22695c2298a63905478976c34 (patch)
tree9dfaaf7b721ad7b747c15d71f22fa0c9dda69c90 /config/i3
parent68e27c81a0744b1c61c6c57808c940de0afdbafe (diff)
downloadmyconfigs-4a3764c0d2b04eb22695c2298a63905478976c34.tar.gz
myconfigs-4a3764c0d2b04eb22695c2298a63905478976c34.tar.bz2
myconfigs-4a3764c0d2b04eb22695c2298a63905478976c34.zip
config/i3: switch from pactl to amixer for sound setting
Diffstat (limited to 'config/i3')
-rw-r--r--config/i3/config6
1 files changed, 3 insertions, 3 deletions
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