iso-profiles/mabox-en/desktop-overlay/usr/bin/compton_toggle

11 lines
151 B
Plaintext
Raw Normal View History

2019-11-01 17:22:26 +01:00
#!/bin/bash
2020-01-13 12:26:33 +01:00
if [ `pidof picom` ]; then
echo "Stopping picom"
killall picom
2019-11-01 17:22:26 +01:00
else
2020-01-13 12:26:33 +01:00
echo "Starting picom"
picom &
2019-11-01 17:22:26 +01:00
fi
2020-01-13 12:26:33 +01:00
exit