Add hotkey to prevent idling on SUPER + CTRL + I

This commit is contained in:
David Heinemeier Hansson
2025-07-09 11:22:43 -07:00
parent aa5c955f67
commit 2a84c5873b
2 changed files with 12 additions and 0 deletions

9
bin/omarchy-toggle-idle Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if pgrep -x hypridle > /dev/null; then
pkill -x hypridle
notify-send "Stop locking computer when idle"
else
setsid hypridle &> /dev/null &
notify-send "Now locking computer when idle"
fi