1
0
Fork 0
dotfiles/.local/bin/togcom

12 lines
213 B
Bash
Executable File

#!/bin/sh
if pidof picom; then
killall picom
notify-send -h string:x-dunst-stack-tag:"togcom" \
"Compositor Off"
else
setsid -f picom
notify-send -h string:x-dunst-stack-tag:"togcom" \
"Compositor On"
fi