mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
* fix: change uwsm app to uwsm-app for performance * Do not run uwsm-app in parallel as it's not supported * Fix comment --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
10 lines
215 B
Bash
Executable File
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
|