mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +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
|