diff --git a/bin/omarchy-toggle-idle b/bin/omarchy-toggle-idle index 57a8aac..ccbc012 100755 --- a/bin/omarchy-toggle-idle +++ b/bin/omarchy-toggle-idle @@ -1,9 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash -if pgrep -x hypridle > /dev/null; then +if pgrep -x hypridle >/dev/null; then pkill -x hypridle notify-send "Stop locking computer when idle" else - setsid hypridle &> /dev/null & + setsid hypridle &>/dev/null & notify-send "Now locking computer when idle" fi