diff options
| author | ewy1 <ewy0@protonmail.com> | 2025-01-14 14:31:54 +0100 |
|---|---|---|
| committer | ewy1 <ewy0@protonmail.com> | 2025-01-14 14:31:54 +0100 |
| commit | 2ec3e3a315beadd94cb68750e4e6e71d7a483b02 (patch) | |
| tree | 0984f3946687ef7fddd35b6f0c80b21eda33ec23 /.config/sway | |
| parent | 205ea933493b27013f2504d8f5cdf05627a3cd98 (diff) | |
more mediakeys & strikethrough on mute
Diffstat (limited to '.config/sway')
| -rw-r--r-- | .config/sway/config | 12 | ||||
| -rw-r--r-- | .config/sway/config.d/mediakeys | 4 |
2 files changed, 4 insertions, 12 deletions
diff --git a/.config/sway/config b/.config/sway/config index 71f7ed8..63c92f4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -150,18 +150,6 @@ mode "resize" { bindsym Escape mode "default" } bindsym $mod+r mode "resize" -# -# Utilities: -# - # Special keys to adjust volume via PulseAudio - bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle - bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% - bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% - bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle - # Special keys to adjust brightness via brightnessctl - bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- - bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ - include "$HOME/.cache/wal/colors-sway" include "$HOME/.config/sway/config.d/*" diff --git a/.config/sway/config.d/mediakeys b/.config/sway/config.d/mediakeys index 88e007a..628035e 100644 --- a/.config/sway/config.d/mediakeys +++ b/.config/sway/config.d/mediakeys @@ -3,3 +3,7 @@ bindsym XF86AudioPrev exec playerctl previous bindsym XF86AudioNext exec playerctl next bindsym XF86MonBrightnessUp exec xbacklight -inc 10 -fps 10 bindsym XF86MonBrightnessDown exec xbacklight -dec 10 -fps 10 +bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle +bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% +bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% +bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle |
