Simpler shebang

This commit is contained in:
David Heinemeier Hansson
2025-07-16 20:15:56 -07:00
parent c8656cb10f
commit 4f565b743a

View File

@ -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