Files
Hyprcachy/omarchy/scripts/omarchy-toggle-idle
2026-01-04 20:49:31 +01:00

10 lines
215 B
Bash
Executable File

#!/bin/bash
if pgrep -x hypridle >/dev/null; then
pkill -x hypridle
notify-send "Stop locking computer when idle"
else
uwsm-app -- hypridle >/dev/null 2>&1 &
notify-send "Now locking computer when idle"
fi