2023-07-14 17:59:45 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if pidof picom; then
|
2024-01-02 19:09:46 +01:00
|
|
|
killall picom
|
|
|
|
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
|
|
|
"Compositor Off"
|
2023-07-14 17:59:45 +02:00
|
|
|
else
|
2024-01-02 19:09:46 +01:00
|
|
|
setsid -f picom
|
|
|
|
notify-send -h string:x-dunst-stack-tag:"togcom" \
|
|
|
|
"Compositor On"
|
2023-07-14 17:59:45 +02:00
|
|
|
fi
|