hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

Proper Dbus events for lock hint

Open JunaidQrysh opened this issue 1 month ago • 2 comments

Description

Reference - kde screen locker Main Issue

Hyprlock should set the LockedHint on both lock and unlock as It is necessary for apps depending on the lock state.

JunaidQrysh avatar Oct 29 '25 21:10 JunaidQrysh

Yeah I have argued against this in the past, as from my point of view it is the compositor that should set the locked hint. More simple lock screen applications like swaylock don't want to add it. See https://github.com/swaywm/swaylock/issues/382.

However in Hyprland, we also don't want dbus stuff I think, so in a sense hypridle (and swayidle for that matter) exists to keep the dbus stuff out of the compositor.

Since we now have hyprland-lock-notify, we can totally add the locked hint to hypridle and have it work for all lockscreen clients using Hyprland + hypridle.

But I am not 100% confident on this. Since we have fingerprint support in hyprlock, which already uses dbus, we could also just bite the bullet.

So the 2 options are:

  • add it to hypridle
  • add it to hyprlock

Any opinions @vaxerski, OP?

PointerDilemma avatar Nov 11 '25 14:11 PointerDilemma

hypridle can use the locked hint for setting dbus props

I dont mind dbus in hyprland

vaxerski avatar Nov 12 '25 23:11 vaxerski