diff --git a/helpers/DATA/compton/trisquel-compton-switcher b/helpers/DATA/compton/trisquel-compton-switcher index 541774a69042da398791e209eac98ac482334e0b..107f9e69798b510036084b5a676af4737d9e9d54 100644 --- a/helpers/DATA/compton/trisquel-compton-switcher +++ b/helpers/DATA/compton/trisquel-compton-switcher @@ -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 ;;