fixed notification volume/brightness removed some gnome applications and updated system + .gitignore

This commit is contained in:
2026-05-01 20:13:27 +02:00
parent 3ce6c956f6
commit 154486074f
7 changed files with 41 additions and 41 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
VOLUME=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2 * 100}')
MUTE=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -c "MUTED")
if [ "$MUTE" -ne 0 ]; then
notify-send -h string:x-canonical-private-synchronous:volume \
-h "int:value:0" \
-c "osd" \
"Muted" -i audio-volume-muted
else
notify-send -h string:x-canonical-private-synchronous:volume \
-h "int:value:$VOLUME" \
-c "osd" \
"Volume: ${VOLUME}%" -i audio-volume-high
fi