aboutsummaryrefslogtreecommitdiff
path: root/i3.conf
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2020-04-12 01:45:11 +0100
committeroreodave <aryadevchavali1@gmail.com>2020-04-12 01:47:14 +0100
commit1402434de5b546f9dd5dd8989b52ec908c042802 (patch)
treef407c3b2be39ff273a438a1673aea108aa17f0c2 /i3.conf
parent2f8a0b21278966de38b2605f7e47801ddb7dac04 (diff)
downloaddotfiles-1402434de5b546f9dd5dd8989b52ec908c042802.tar.gz
dotfiles-1402434de5b546f9dd5dd8989b52ec908c042802.tar.bz2
dotfiles-1402434de5b546f9dd5dd8989b52ec908c042802.zip
~keyboard volume commands now use @DEFAULT_SINK@
These commands are to the pulseaudio server, which has a default sink variable so if I decide to go to Bluetooth for my default output, it will adjust for me.
Diffstat (limited to 'i3.conf')
-rw-r--r--i3.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/i3.conf b/i3.conf
index 21d4c33..d14f36f 100644
--- a/i3.conf
+++ b/i3.conf
@@ -26,10 +26,10 @@ gaps inner 15
# Volume binds
set $refresh_i3status killall -SIGUSR1 i3status
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +10% && $refresh_i3status
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -10% && $refresh_i3status
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && $refresh_i3status
-bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $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
## m and n are the + and - volume buttons
bindsym $mod+m exec --no-startup-id pactl set-sink-volume 0 +5% && $refresh_i3status