Screen doesn't lock anymore when suspending.
Locking from the SUPER + ESC menu works normally. However, when suspending and awaking the system I'm back in without a password prompt.
When manually executing loginctl lock-session nothing happens.
When executing killall hypridle && hypridle & and then loginctl lock-session the lock now works, however only when the terminal window this was executed in is left open.
More info:
Restarting hypridle via the walker menu (Update > Process > hypridle) doesn't change anything, but manually executing omarchy-restart-hypridle somewhat solves the issue. However, when awaking the device you see the desktop for half a second and then the lock screen pops up.
Restarting the system doesn't solve this.
I'm wondering if this is just an issue on my end or not.
I am having same problem. After leaving computer untouched for 10+ minutes and waking monitor, i'm getting to desktop without entering password. Lock screen was working earlier for me and i updated to 1.12.1 today so maybe something got changed.
Same problem, also not working after update on lid closing as it was before (didn’t change any config files or hardware etc.) It can be fixed with changing idle config by removing “pidof” from listener (you can add it to general in lock_cmd to avoid multiple instances of hyprlock). But if I just close the lid it’s not working instantly as it was before the update.
The issue seem to be that the hypridle service cannot find the omarchy-lock-screen script. I assume the script's location (~/.local/share/omarchy/bin/omarchy-lock-screen) in not in system-wide PATH – possibly related to #557.
The issue seem to be that the
hypridleservice cannot find theomarchy-lock-screenscript. I assume the script's location (~/.local/share/omarchy/bin/omarchy-lock-screen) in not in system-wide PATH – possibly related to #557.
I don't think so because that script runs fine.
The issue seem to be that the
hypridleservice cannot find theomarchy-lock-screenscript. I assume the script's location (~/.local/share/omarchy/bin/omarchy-lock-screen) in not in system-wide PATH – possibly related to #557.I don't think so because that script runs fine.
It runs fine you mean in a user bash ? For me, it does work there too but doesn't when running as sudo (=system). In config/hypr/hypridle.conf:
...
lock_cmd = omarchy-lock-screen # lock screen and 1password
...
Assuming hyperidle running as a system service, this would explain it. As system, it does not know about omarchy-lock-screen.
It works from the menu, though, so I peeked there. In bin/omarchy-menu:
...
*Lock*) $OMARCHY_BIN_PATH/omarchy-lock-screen ;;
...
The env variable $OMARCHY_BIN_PATH points to user home, therefore it will be known.
As @dhh wants the omarchy binaries in the system $path in #557, it would resolve the issue here as well. This is what I think @oswines meant.
@manuel1618 Oh I see what you mean, thanks for explaining.
Thank you @manuel1618, that's exactly what I meant – sorry for making you clarify the point due to my poor explanation.
And to @bagguettiesonmywrist, I should have taken the time to better express my thoughts – sorry for confusing the matter.
This will get fixed by https://github.com/basecamp/omarchy/pull/602.
In the meantime, you can add the full path in your hypridle.conf.