1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

inverter.sh: pgrep picom

Additional rebranding to be done here, but first of all make this work.
This commit is contained in:
Que Quotion 2019-12-10 18:38:29 +09:00 committed by GitHub
parent 6a3d1354be
commit 4ac7c1a20e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
if [ -z "`dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames | grep compton`" ]; then if [ -z "`dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames | grep compton`" ]; then
echo "compton DBus interface unavailable" echo "compton DBus interface unavailable"
if [ -n "`pgrep compton`" ]; then if [ -n "`pgrep picom`" ]; then
echo "compton running without dbus interface" echo "compton running without dbus interface"
#killall compton & # Causes all windows to flicker away and come back ugly. #killall compton & # Causes all windows to flicker away and come back ugly.
#compton --dbus & # Causes all windows to flicker away and come back beautiful #compton --dbus & # Causes all windows to flicker away and come back beautiful