summaryrefslogtreecommitdiffstats
path: root/.i3/config
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-12-27 09:37:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2020-01-25 16:04:20 +0100
commit73f18dabae274c79eb14b00dc01148ffcd612170 (patch)
treedaf7f9e2238cbb7f3426b8d1b33ae809ea94b18f /.i3/config
parent5cac25f296d2018e8934ef2809a2d5009a9240aa (diff)
downloaddotfiles-73f18dabae274c79eb14b00dc01148ffcd612170.tar.gz
dotfiles-73f18dabae274c79eb14b00dc01148ffcd612170.tar.xz
i3: Use pulseaudio default sink instead of sink 0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.i3/config')
-rw-r--r--.i3/config12
1 files changed, 6 insertions, 6 deletions
diff --git a/.i3/config b/.i3/config
index b17a773..c72afb3 100644
--- a/.i3/config
+++ b/.i3/config
@@ -65,13 +65,13 @@ bindsym Mod3+F11 exec mpc toggle
bindsym Mod3+F12 exec screen-locker.sh
bindsym Print exec upshot-xbindkeys
-bindsym Mod3+Up exec --no-startup-id pactl set-sink-volume 0 +10% #increase sound volume
-bindsym Mod3+Down exec --no-startup-id pactl set-sink-volume 0 -10% #decrease sound volume
-bindsym Mod3+Right exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
+bindsym Mod3+Up exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% #increase sound volume
+bindsym Mod3+Down exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% #decrease sound volume
+bindsym Mod3+Right exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +10% #increase sound volume
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -10% #decrease sound volume
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% #increase sound volume
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% #decrease sound volume
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 -time 0
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 -time 0