Repository navigation
Labels that are reactive to keypresses #864
code-IM-perfect
started this conversation in
Ideas
Replies: 0 comments
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.
What I'm talking about
I have recently shifted to Hyprland from AwesomeWM. Back in X11 I used
xsecurelock, which had these cool modes similar tohide_inputwhich basically used to have the input field that would change to a random string on each keypress (as a visual indicator for the key being pressed) and a separate string whenever the input field was empty (also as a visual indicator of the input being empty).For example
How I think it should be implemented
I think by just adding one more parameter to the label widget,
text_input_indicator, a simple label would be enough for this functionality, I'm thinking of something like thisIn addition to the command(s) being triggered by
update, any labels with a non-nulltext_input_indicatorwould be triggered by any keypress as well.Some
xsecurelockmodes for referenceDefault
1_Normal.mp4
Kaomoji
3_kaomoji.mp4
Hex Time
4_hex_time.mp4
Some help
I wanna give back to this awesome community so I am willing to implement this myself if someone can guide me through whatever needs to be done.
I love how customizable hyprlock already is, thanks for this awesome project!
All reactions