Skip to content

Commit

Permalink
Merge pull request #281 from quequotion/patch-3
Browse files Browse the repository at this point in the history
inverter.sh: pgrep picom
  • Loading branch information
yshui committed Dec 13, 2019
2 parents 37532e5 + 4ac7c1a commit 7bc83e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbus-examples/inverter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
echo "compton DBus interface unavailable"
if [ -n "`pgrep compton`" ]; then
if [ -n "`pgrep picom`" ]; then
echo "compton running without dbus interface"
#killall compton & # Causes all windows to flicker away and come back ugly.
#compton --dbus & # Causes all windows to flicker away and come back beautiful
Expand Down

0 comments on commit 7bc83e1

Please sign in to comment.