Commit graph

432 commits

Author SHA1 Message Date
lysolaka
62de8de35a
widgets: remove the libc++ version check (#818)
see https://github.com/hyprwm/hyprlock/issues/816
2025-09-28 19:26:53 +02:00
Felix Salcher
4dade2f00f
change the cursor shape after rendering the placeholder to make sure, the cursor changes, even when not being moved 2025-07-31 22:36:55 +02:00
Felix Salcher
0d107b8123
add helper function to only make a wl call if the cursor has actually changed 2025-07-31 22:35:58 +02:00
Felix Salcher
6950331d1e
fix mouse initially going to pointer without eye being visible 2025-07-31 22:28:51 +02:00
Felix Salcher
53684cb6f2
update config options to allow backwards compatibility 2025-07-29 18:33:06 +02:00
Felix Salcher
3db32efed1
improve if statements for choosing whether to render text or dots 2025-07-29 17:45:50 +02:00
Felix Salcher
fbd0b644f6
set password text asset to nullptr after unloading it 2025-07-29 17:11:11 +02:00
Felix Salcher
fa32e0ea35
remove redundant renderOutput from togglePassword 2025-07-25 19:59:57 +02:00
Felix Salcher
9366ebd72c
when typing something when the password is shown, it reverts back to hidden 2025-07-25 19:58:30 +02:00
Felix Salcher
cb29c894f1
remove show var in hyprlock 2025-07-25 19:35:59 +02:00
Felix Salcher
e30537d05c
add type to other widgets 2025-07-25 19:22:12 +02:00
Felix Salcher
fb5a70f898
store show variable now in CPasswordInputField instead of CHyprlock 2025-07-25 19:19:47 +02:00
Felix Salcher
653663e31c
fix hover 2025-07-25 17:23:18 +02:00
Felix Salcher
fe83d02d1d
fixed eye and password display after enter 2025-07-25 17:18:47 +02:00
Felix Salcher
814b339200
change password option to password-appearance 2025-07-13 19:18:20 +02:00
Felix Salcher
2a4838da90
add static hover 2025-07-12 14:00:24 +02:00
Felix Salcher
d5e49522e8
update conditions for onClick 2025-07-12 11:49:09 +02:00
Felix Salcher
2992d9bb5d
render output on click 2025-07-12 11:46:32 +02:00
Felix Salcher
ffb0de8ac0
increase eye margin to 16 2025-07-11 14:10:50 +02:00
Felix Salcher
ae2244de71
remove trim and use scissoring 2025-07-11 14:07:56 +02:00
Felix Salcher
b9060fdb74
add onPointerMove function 2025-07-11 13:27:49 +02:00
Felix Salcher
b3956789e7
fix onclick handler 2025-07-11 13:13:16 +02:00
Felix Salcher
bec90ccb53
add eye config values 2025-07-11 12:21:23 +02:00
Felix Salcher
8dccec51e8
move eye struct into password struct 2025-07-11 01:08:34 +02:00
Felix Salcher
79cb8f6db8
move dots_* config to password:dots* 2025-07-11 01:03:11 +02:00
Felix Salcher
4c45cda296
update internal structure of dots and password 2025-07-11 00:50:27 +02:00
Felix Salcher
fbc419dfcb
remove pngs as they are not needed anymore 2025-07-07 18:22:58 +02:00
Felix Salcher
8e9d08c98c
add config option to allow toggling the password 2025-07-07 18:00:24 +02:00
Felix Salcher
31a365d585
update hyprgraphics 2025-07-07 12:26:13 +02:00
Felix Salcher
36743940f1
update doc strings 2025-07-01 21:53:09 +02:00
Felix Salcher
d7ac370d9e
directly embed the eye icons 2025-07-01 21:47:04 +02:00
Felix Salcher
d56543e513
pull changes from upstream 2025-06-29 17:59:21 +02:00
Felix Salcher
71d62edd61
increase the default margin of the eye 2025-06-29 14:32:09 +02:00
Felix Salcher
a39c2af9c1
add the option to place the eye either left or right 2025-06-29 14:31:59 +02:00
Felix Salcher
e0fdafb1bb
render two different eye images, depending on if the password is shown or not 2025-06-29 14:07:07 +02:00
Karun Sandhu
fee04f6406 flake.lock: update 2025-06-28 22:44:09 +03:00
Felix Salcher
5fc0c69065
only set password asset when not already set 2025-06-28 12:05:26 +02:00
Maximilian Seidler
d84b44e695
core: use hyprutils atomic pointers (#808)
* widgets: move references to hyprutils atomic shared

* core: move std::shared_pointers to hyprutils atomic shared pointers

* Nix: bump hyprutils input

* clang-format

* cmake: bump hyprutils to v0.8.0

* and bump nix again
2025-06-28 11:01:28 +02:00
Felix Salcher
559415f285
remove redundant forceReload 2025-06-28 01:00:44 +02:00
Felix Salcher
11da1e7f13
update eye size to be the same as password and dots 2025-06-28 00:58:41 +02:00
Felix Salcher
8089bb23d8
correctly align dots when centered 2025-06-28 00:28:58 +02:00
Felix Salcher
116789b19a
don't show eye when password is empty 2025-06-27 22:55:09 +02:00
Felix Salcher
b1dc5df422
add eye to toggle visibility 2025-06-27 22:45:04 +02:00
davc0n
7999f448d7
core: replace grace option with --grace cli argument (#802)
* core: replace grace option with --grace cli argument

* core: remove --immediate option

not necessary anymore, grace is not a configuration option

* Revert "core: remove --immediate option"

This reverts commit 0c99899157.

* core: add --immediate and grace option deprecation warnings

* core: review fixes for --immediate and --grace

* core: review fixes for grace deprecation
2025-06-26 09:35:25 +02:00
Felix Salcher
4d6b766e3a
only render password i it's length exceeds one 2025-06-24 11:03:36 +02:00
Felix Salcher
00c39a8e55
tidy up the asyncresourcegatherer functions 2025-06-24 09:41:54 +02:00
Felix Salcher
bfe23c6ee7
directly query the length of the password and change it accordingly 2025-06-24 09:41:51 +02:00
Maximilian Seidler
a9638986c3
core: use a screenshot for fade in/out (#726) 2025-06-22 09:24:39 +02:00
e67036e8cc
CI/Nix: add cache-nix-action
Use nixbuild/nix-quick-install-action which pairs well with
nix-community/cache-nix-action.

Should help with build times by reducing the number of packages needing
to be re-downloaded on each run.

Parameters are taken from https://github.com/nix-community/cache-nix-action
and may be tweaked later.
2025-06-20 01:25:18 +03:00
Friday
f9d8dfab7a nix: use gcc15
also updated dependencies
2025-06-06 01:26:31 +03:00