initial commit

This commit is contained in:
2025-07-07 22:30:20 +03:00
commit 2b776d7cce
9 changed files with 994 additions and 0 deletions

14
volume-notify-sway.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Kill any existing volume notification
pkill -f "notify-send.*Volume"
# Get current volume and mute status
volume=$(pactl get-sink-volume @DEFAULT_SINK@ | head -n1 | awk '{print $5}')
muted=$(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}')
if [ "$muted" = "yes" ]; then
notify-send -t 1000 "Volume" "Muted"
else
notify-send -t 1000 "Volume" "$volume"
fi