mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 23:29:23 +00:00
Ensure screensaver doesn't start while the computer is locked
This commit is contained in:
@ -8,7 +8,7 @@ general {
|
||||
|
||||
listener {
|
||||
timeout = 60 # 1min
|
||||
on-timeout = omarchy-launch-screensaver # start screensaver
|
||||
on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
|
||||
}
|
||||
|
||||
listener {
|
||||
|
4
migrations/1754208139.sh
Normal file
4
migrations/1754208139.sh
Normal file
@ -0,0 +1,4 @@
|
||||
echo "Ensure screensaver doesn't start while the computer is locked"
|
||||
if ! grep -q "pidof hyprlock || omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
|
||||
omarchy-refresh-hypridle
|
||||
fi
|
Reference in New Issue
Block a user