summaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/sway/config21
1 files changed, 15 insertions, 6 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 640ed06..ba1cc60 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -61,12 +61,21 @@ bindsym $mod+apostrophe exec dmenu-light
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
-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 $mod+XF86AudioRaiseVolume exec pactl set-source-volume @DEFAULT_SOURCE@ +5%
-bindsym $mod+XF86AudioLowerVolume exec pactl set-source-volume @DEFAULT_SOURCE@ -5%
-bindsym $mod+XF86AudioMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
+bindsym $mod+semicolon exec dmenu-pavols
+
+set $sinkup pactl set-sink-volume @DEFAULT_SINK@ +5%
+set $sinkdown pactl set-sink-volume @DEFAULT_SINK@ -5%
+set $sinkmute pactl set-sink-mute @DEFAULT_SINK@ toggle
+set $sourceup pactl set-source-volume @DEFAULT_SOURCE@ +5%
+set $sourcedown pactl set-source-volume @DEFAULT_SOURCE@ -5%
+set $sourcemute pactl set-source-mute @DEFAULT_SOURCE@ toggle
+
+bindsym XF86AudioRaiseVolume exec $sinkup
+bindsym XF86AudioLowerVolume exec $sinkdown
+bindsym XF86AudioMute exec $sinkmute
+bindsym $mod+XF86AudioRaiseVolume exec $sourceup
+bindsym $mod+XF86AudioLowerVolume exec $sourcedown
+bindsym $mod+XF86AudioMute exec $sourcemute
bindsym $mod+$left focus left
bindsym $mod+$down focus down