arch-hyprland-setup/bin/omarchy-toggle-idle
2025-08-07 18:19:16 -04: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