packages(dunst-scripts): Show for 1 second

This commit is contained in:
Donovan Glover 2024-09-06 10:50:03 -04:00
parent f7ea988d1c
commit c654273f92
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -24,6 +24,7 @@ let
--icon "multimedia-volume-control" \
--hint "string:x-dunst-stack-tag:volume" \
--hint "int:value:$(math "$(echo "$VOL" | awk '{print $2}') * 100")" \
--expire-time 1000 \
"" \
"$(echo "$VOL" | awk '{print $3}' | sed -e 's/\[MUTED\]//' | tr --delete '\n')"
'';
@ -39,6 +40,7 @@ let
--icon "brightness" \
--hint "string:x-dunst-stack-tag:brightness" \
--hint "int:value:$(brightnessctl set 5%+ -m | awk --field-separator , '{print $4}')" \
--expire-time 1000 \
""
'';
};