Skip to content

Commit

Permalink
fix(scripts): reverse check for number of processes
Browse files Browse the repository at this point in the history
  • Loading branch information
KirkEasterson committed Nov 12, 2024
1 parent 338f936 commit b2df895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/.local/bin/inhibit-idle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ case $1'' in
*)
num_processes=$(status)
num_processes="${num_processes//[$'\t\r\n ']/}"
if [ "$num_processes" -eq "0" ]; then
if [ "$num_processes" -ne "0" ]; then
class="on"
text="Inhibiting idle (mid click to clear)"
else
Expand Down

0 comments on commit b2df895

Please sign in to comment.