Add getprop dispatcher to complement setprop
#11162
Replies: 2 comments 3 replies
-
|
Additionally the alpha struct could have a few cpp operators implemented to be able to be incremented like float, int or bool props (https://github.com/hyprwm/Hyprland/blob/main/src/desktop/WindowOverridableVar.hpp) |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the vast array of window properties usable with
setpropare inaccessable to a user. The ability to retrieve this information in a similar way would be very much appreciated.As a practical use case,
hyprctl dispatch setprop activewindow alpha <some alpha>can be used to set the opacity of a window, but it is currently impossible to adjust the alpha with a delta, like would be done when adjusting audio volume or screen brightness. Agetpropdispatcher could be used to trivially retrieve the current alpha for this purpose:The only current option (that I'm aware of at least) is an awkward implementation of tagging windows with the needed values and extracting them with complicated scripts.
Beta Was this translation helpful? Give feedback.
All reactions