summaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-08-30 17:54:01 -0400
committerAmin Bandali <bandali@kelar.org>2024-08-30 17:54:01 -0400
commit63879fc37e2b7e7f4d6069dfc287a85ee758b1f8 (patch)
tree8451cb5c68db1ce7c548325578a44d1a7a236f4f /.config/sway/config
parentdcb96b515fa65eee556df976375692cef48db21d (diff)
downloadconfigs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.tar.gz
configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.tar.xz
configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.zip
Various updates from anahita
Diffstat (limited to '.config/sway/config')
-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