2023-07-14 17:59:45 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2024-03-14 09:24:02 +01:00
|
|
|
if [ "$(sv status picom | cut -d ':' -f 1)" = "run" ]; then
|
|
|
|
sv down picom
|
2024-02-03 18:34:14 +01:00
|
|
|
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
|
|
|
"Compositor Off"
|
2023-07-14 17:59:45 +02:00
|
|
|
else
|
2024-03-14 09:24:02 +01:00
|
|
|
sv up picom
|
2024-02-03 18:34:14 +01:00
|
|
|
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
|
|
|
"Compositor On"
|
2023-07-14 17:59:45 +02:00
|
|
|
fi
|