hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
17.88k stars 752 forks source link

No way to toggle pin(ned) status of a specific client window #6655

Closed fdev31 closed 4 days ago

fdev31 commented 4 days ago

Description

It is possible to set some rule to set the pinned attribute (and a way to clear every matching rule) which is not practical.

The current pin command only acts on the focused client.

It would be useful (eg: https://github.com/hyprland-community/pyprland/issues/112) to have a way to set or unset the pin status of a given window.

Something such ashyprctl pin:0 address:0xdeadbeef would unset the "pin" status for instance.

MightyPlaza commented 4 days ago

hyprctl dispatch pin address:0xdeadbeef?

fdev31 commented 4 days ago

Are you kidding me ?! I was pretty sure I tested this yesterday... but today it works (I upgraded in the meantime, not sure it's recent...). It's only a toggle, can't set, but it's good enough for me, sorry for the noise and thank you a lot for your time!