From 4f565b743ab33ec6d614c007bc6b176c3c7ceeb0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 16 Jul 2025 20:15:56 -0700 Subject: [PATCH] Simpler shebang --- bin/omarchy-toggle-idle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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