summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/sway/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sway/config b/.config/sway/config
index ecdec76..116e617 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -83,8 +83,8 @@ workspace 3 output eDP-1
bindsym $mod+d exec $menu
# Pulse Audio controls
- bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
- bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
+ 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
# Brightness Controls
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-