Check if compton is running for the current user
This commit is contained in:
parent
9cfbd78876
commit
161d473e67
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue