Add files via upload

This commit is contained in:
2025-11-24 19:46:30 +07:00
parent 90cc6d4253
commit a7ab7103a5
365 changed files with 17881 additions and 0 deletions

13
config/dunst/scripts/volume.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
volume=$(amixer -D pulse sget Master | tail -1 | awk -F'[][]' '{print $2}' | sed 's/%//g')
if [[ "$volume" -eq "0" ]]; then
icon="$HOME/.config/dunst/scripts/volume-mute.svg"
elif [[ "$volume" -lt "100" ]]; then
icon="$HOME/.config/dunst/scripts/volume-normal.svg"
else
icon="$HOME/.config/dunst/scripts/volume-max.svg"
fi
dunstify -a "volume" -i "$icon" -r 3456 -h int:value:"$volume" "Volume: ${volume}%"