summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-07-19 12:11:38 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-07-19 12:15:15 +0200
commitd17c0364f1053cf8080a6e8d6438a1d43fc42532 (patch)
treead4b841b9603273de9ff04dbf4119c469c05bd71 /.config/sway/config
parent485b513b2e82aa3dcf86e4b0ae8a1fa7bc4e004b (diff)
[sway+i3] pactl and other config adjustments
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config8
1 files changed, 5 insertions, 3 deletions
diff --git a/.config/sway/config b/.config/sway/config
index c6ec2ba..f9ebe17 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -119,9 +119,9 @@ include $HOME/.config/sway/input
# Audio
#
- bindsym XF86AudioMute exec amixer set Master toggle
- bindsym XF86AudioLowerVolume exec amixer set Master 5%-
- bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
+ bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
+ bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -3%
+ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +3%
#
# Screenshot
@@ -202,6 +202,8 @@ include $HOME/.config/sway/input
bindsym $mod+Shift+Alt+0 move container to workspace number 20
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
+
+ bindsym Alt+Return exec $HOME/.config/sway/bin/workspace-add
#
# Layout stuff:
#