swaywm / swaylock

Screen locker for Wayland
MIT License
832 stars 197 forks source link

view lockpad on wakeup ? #332

Closed foxjaw closed 9 months ago

foxjaw commented 9 months ago

My window manager setup has nothing but wallpaper (no bar, widgets, etc). Hence I get confused immediately after waking up the system & I see swaylock background thinking it's already unlocked (unless a keypress event brings up the lockpad).
Is there a cheat way to make lockpad visible without a keypress event ?

kennylevinsen commented 9 months ago

Put a lockpad on the wallpaper used by swaylock.

foxjaw commented 9 months ago

Yup I had this idea of using a wallpaper specialized for lockscreen. But I use my backgrounds directory so that I see different wallpaper everytime. I'm thinking of another way, where I automatically invoke the lock circle of swaylock itself by automating a keypress. Is that possible ?

kennylevinsen commented 9 months ago

There's --indicator-idle-visible which might be what you're looking for.

foxjaw commented 9 months ago

@kennylevinsen Tq that's what I was looking for. Didn't properly read the man page.