1
0
Fork 0

togcompositor: refactor

This commit is contained in:
Luca Bilke 2025-01-08 16:22:20 +01:00
parent 8db3a4adf0
commit 32b277c8c9
Signed by: luca
GPG key ID: F6E11C9BAA7C82F5

View file

@ -2,10 +2,10 @@
if [ "$(sv status picom | cut -d ':' -f 1)" = "run" ]; then
sv down picom
notify-send -h string:x-dunst-stack-tag:"togcom" \
notify-send -h string:x-dunst-stack-tag:"togcompositor" \
"Compositor Off"
else
sv up picom
notify-send -h string:x-dunst-stack-tag:"togcom" \
notify-send -h string:x-dunst-stack-tag:"togcompositor" \
"Compositor On"
fi