Make lock screen behave like a lock screen

This commit is contained in:
Ryan Hughes
2026-05-19 17:20:45 -04:00
parent 201a003537
commit 72c9331c72
3 changed files with 43 additions and 15 deletions
-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