Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swaylock doesn't set LockedHint #382

Open
MattiJarvinen opened this issue Nov 3, 2024 · 3 comments
Open

Swaylock doesn't set LockedHint #382

MattiJarvinen opened this issue Nov 3, 2024 · 3 comments

Comments

@MattiJarvinen
Copy link

I'm submitting a…

[ ] Bug
[x] Feature Request
[ ] Other (Please describe in detail)

Swaylock should set the LockedHint property so that the applications can act accordingly.

An example of this kind of response:
keepassxreboot/keepassxc#3339 - a password manager could lock it's database on screenlock, but that currently doesn't seem possible with swaylock, since there's no lock event.

It was implemented in systemd in this PR: systemd/systemd#3238
Support was added to ConsoleKit in this commit: ConsoleKit2/ConsoleKit2@d28abf1

See also:
i3/i3lock#239

@emersion
Copy link
Member

emersion commented Nov 3, 2024

I don't think I'd want to add D-Bus stuff to swaylock itself. A wrapper script could take care of the D-Bus stuff, I think.

@kennylevinsen
Copy link
Member

I personally use this small tool to synchronize stuff to the locked state: https://git.sr.ht/~kennylevinsen/follow-ready

Someone would have to write a tool to set the lock hints though.

@mstoeckl
Copy link
Contributor

mstoeckl commented Nov 4, 2024

A related Sway issue: swaywm/sway#7008.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants