Add hotkey to prevent idling on SUPER + CTRL + I

This commit is contained in:
David Heinemeier Hansson committed 2025-07-09 11:22:43 -07:00
1 parent aa5c955f67
commit 2a84c5873b
2 files changed
+12

No files matched your search

+9
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