summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-02-12 13:43:11 +0100
committerJulian T <julian@jtle.dk>2021-02-12 13:43:11 +0100
commit99ec3749b0683999b5dc2dce783d177dec7823ce (patch)
tree0e843b7cf02848af5938f946e1074ff03f21d8d5
parent9a086348dad6aa98d9be189931138ae5de45d7ad (diff)
I3 uses volume script for controlling music
-rw-r--r--i3/.config/i3/config9
1 files changed, 6 insertions, 3 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 5cdf0c1..6602f4d 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -165,9 +165,12 @@ bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5
# volume settings
-bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
-bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
-bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86AudioRaiseVolume exec ~/Scripts/volume volumeup
+bindsym XF86AudioLowerVolume exec ~/Scripts/volume volumedown
+bindsym XF86AudioMute exec ~/Scripts/volume volumetoggle
+bindsym XF86AudioPlay exec ~/Scripts/volume playtoggle
+bindsym XF86AudioPrev exec ~/Scripts/volume backward
+bindsym XF86AudioNext exec ~/Scripts/volume forward
# launch script thingy
bindsym $mod+semicolon exec --no-startup-id Scripts/lc --dmenu