summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-01-28 10:36:34 +0100
committerxengineering <me@xengineering.eu>2022-01-28 10:36:34 +0100
commitf37626c09d9b567cb51af1ad0391f10ec052d3a2 (patch)
tree395fd70a8c04746db1dafddd29fbec7de010b2aa
parent735cca34bc1f441b5eaf0bcea43fb81be98df649 (diff)
downloaddotfiles-f37626c09d9b567cb51af1ad0391f10ec052d3a2.tar
dotfiles-f37626c09d9b567cb51af1ad0391f10ec052d3a2.tar.zst
dotfiles-f37626c09d9b567cb51af1ad0391f10ec052d3a2.zip
Remove volume change notifications from sway
Waybar displays now the sound volume.
-rw-r--r--.config/sway/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/sway/config b/.config/sway/config
index a840449..4260802 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -68,9 +68,9 @@ include ~/.config/sway/setup
bindsym $mod+d exec $menu
# Pulse Audio controls
- bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && notify-send -t 500 'lauter' "$(pactl get-sink-volume 0 | grep Volume | awk '{print $5,$12}')" #increase sound volume
- bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && notify-send -t 500 'leiser' "$(pactl get-sink-volume 0 | grep Volume | awk '{print $5,$12}')" #decrease sound volume
- bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
+ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
+ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
+ bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
# Brightness Controls
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec brightnessctl set +5%