aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-12-05 00:50:15 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-12-05 00:50:15 +0100
commit05280ce5c09fea7f9e9bdddb69e3d21b8debe088 (patch)
tree12a4002da10c524baa943d03abb75e096666b9de /i3
parentaf8a3709faba073dea5e7cd5a802ff5f59c26b73 (diff)
downloaddotfiles-05280ce5c09fea7f9e9bdddb69e3d21b8debe088.tar.gz
pactl use default sink
Diffstat (limited to 'i3')
-rw-r--r--i3/config.d/40-wm-shortcuts.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/i3/config.d/40-wm-shortcuts.conf b/i3/config.d/40-wm-shortcuts.conf
index 1ba446f..39c7f6b 100644
--- a/i3/config.d/40-wm-shortcuts.conf
+++ b/i3/config.d/40-wm-shortcuts.conf
@@ -60,10 +60,10 @@ bindsym $mod+Shift+BackSpace move scratchpad
bindsym $mod+BackSpace scratchpad show
# Pulse Audio controls
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5%
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5%
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
-bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ +5%
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ -5%
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
#Mediacontrol
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause