Check if compton is running for the current user

This commit is contained in:
Ruben Rodriguez 2015-03-27 21:46:59 +00:00
parent 9cfbd78876
commit 161d473e67

View file

@ -1,7 +1,7 @@
#!/bin/bash
#Check if compton is currently running.
case "$(pidof compton | wc -w)" in
case "$(pgrep -u $USER compton | wc -w)" in
0) COMPTON_RUNNING=false
;;