Introduce Serpensortia theme, enhance Hyprland scripts, and improve configuration modularity

This commit is contained in:
2026-02-17 22:18:10 +01:00
parent 8b153d54ac
commit a3c9ccbf6f
29 changed files with 1351 additions and 7 deletions
+5 -3
View File
@@ -12,17 +12,19 @@ case "$1" in
;;
mute)
wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
volume=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print int($2*100)}')
mute=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q MUTED && echo "yes" || echo "no")
if [[ "$mute" == "yes" ]]; then
dunstify -t $TIME \
-a "Volume" \
-h string:x-dunst-stack-tag:$msgTag \
"Muted"
"muted"
else
dunstify -t $TIME \
-a "Volume" \
-h string:x-dunst-stack-tag:$msgTag \
"Unmuted"
-h int:value:"$volume" \
"unmuted"
fi
exit 0
;;
@@ -40,5 +42,5 @@ if [[ "$mute" != "yes" ]]; then
-a "Volume" \
-h string:x-dunst-stack-tag:$msgTag \
-h int:value:"$volume" \
"Volume: $volume%"
"$1"
fi