Make lock screen behave like a lock screen

This commit is contained in:
Ryan Hughes committed 2026-05-19 17:20:45 -04:00
1 parent 201a003537
commit 72c9331c72
3 files changed
+43 -15

No files matched your search

-9
View File
@@ -17,12 +17,3 @@ fi
# Avoid running screensaver when locked
pkill -f '[o]rg.omarchy.screensaver'
if [[ ${OMARCHY_LOCK_ONLY:-false} != "true" ]]; then
(
sleep 3
[[ $(omarchy-shell lock isLocked 2>/dev/null) == "true" ]] || exit 0
omarchy-brightness-keyboard off
omarchy-brightness-display off
) &
fi