diff options
Diffstat (limited to 'screen-locker.sh')
-rwxr-xr-x | screen-locker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-locker.sh b/screen-locker.sh index efb3dbb..a27557f 100755 --- a/screen-locker.sh +++ b/screen-locker.sh @@ -24,6 +24,6 @@ unlock () { } #if pidof i3lock &> /dev/null; then exit 1; fi -if pidof slock &> /dev/null; then exit 1; fi +if pgrep slock &> /dev/null; then exit 1; fi (lock && unlock) & |