Ensure apps started with uwsm stay managed by uwsm on restarts

This commit is contained in:
David Heinemeier Hansson
2025-07-19 15:11:32 -05:00
parent ceedf474cb
commit cf71a3f101
3 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,6 @@ if pgrep -x hypridle >/dev/null; then
pkill -x hypridle
notify-send "Stop locking computer when idle"
else
setsid hypridle &>/dev/null &
uwsm app -- hypridle >/dev/null 2>&1 &
notify-send "Now locking computer when idle"
fi