Merge pull request #281 from quequotion/patch-3

inverter.sh: pgrep picom
This commit is contained in:
yshui
2019-12-13 16:09:47 +00:00
committed by GitHub

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