Commit graph

469 commits

Author SHA1 Message Date
Felix Salcher
6dbd3a4386
refactor password and dots logic out of draw function to reduce its size 2025-10-07 22:07:22 +02:00
Felix Salcher
3685b7f180
set ctrl-h to toggle password visibility 2025-10-07 09:11:50 +02:00
Felix Salcher
e2fa7e5e18
Merge branch 'main' into show_password 2025-09-29 10:24:18 +02:00
Felix Salcher
bd508f2d64
Merge branch 'master' 2025-09-29 10:20:40 +02:00
Felix Salcher
6ece2a83f4
update nix inputs 2025-09-29 09:51:53 +02:00
Felix Salcher
83b24434d7
fix hovering/clicking error when monitor is scaled 2025-09-29 09:46:30 +02:00
Felix Salcher
a6f1590540
change type enum and get it via a virtual fn 2025-09-29 08:50:01 +02:00
Felix Salcher
41cbb89b26
use #embed macro 2025-09-29 08:31:26 +02:00
Felix Salcher
f8176053b0
minor tweaks 2025-09-28 22:14:57 +02:00
Felix Salcher
0a4eb652d7
add default cursor shape 2025-09-28 22:14:38 +02:00
1a2baa4380
version: bump to 0.9.1 2025-09-28 19:26:53 +02:00
Ben Leynen
c220c2b35b
Add ctrl+a as binding to clear password (#832) 2025-09-28 19:26:53 +02:00
Maximilian Seidler
c67b58f9e1
background: fix mismatched asset sizes and transforms (#830) 2025-09-28 19:26:53 +02:00
Maximilian Seidler
252b527f57
asyncResourceGatherer: fix conditions for skipping screencopy (#829) 2025-09-28 19:26:53 +02:00
Maximilian Seidler
37d48868c6
seat: restore cursor shape to default (#820) 2025-09-28 19:26:53 +02:00
Maximilian Seidler
4c541c3428
core: limit onClick to down events (#826) 2025-09-28 19:26:53 +02:00
b5c8cdbdc1
version: bump to 0.9.0 2025-09-28 19:26:53 +02:00
Maximilian Seidler
cd1c1af1ee
input-field: fix wrong placeholder text for resourceID (#819) 2025-09-28 19:26:53 +02:00
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
Maximilian Seidler
7f769fa993 Revert "background: unload screenshots when monitor is removed"
Pushed to the wrong remote :(
This reverts commit 1380ca04ae.
2025-09-17 17:54:49 +02:00
Maximilian Seidler
1380ca04ae background: unload screenshots when monitor is removed
This is just for testing as of now. No merging.
2025-09-17 17:51:34 +02:00
Maximilian Seidler
61b36c64a8
renderer: fix nvidia workaround (#878) 2025-09-17 15:51:17 +00:00
davc0n
a7f2634a9e
Refactor asset management to use shared_ptr (#870)
* Refactor asset management to use shared_ptr

* Replace shared_ptr with ASP for SPreloadedAsset usage
2025-09-15 18:14:34 +00:00
Maximilian Seidler
450ae1e5f0
lock-surface: remove redundant sendDestroy calls (#868)
They are already part of the generated protocol code.
2025-09-10 16:11:06 +00:00
Maximilian Seidler
04cfdc4e5b
core: recreate rendering context when monitors are empty on nvidia (#845)
This is a workaround for nvidia that can hopefully be removed at some point.
2025-09-04 07:04:54 +00:00
Maximilian Seidler
cedbb24472
renderer: move asyncResourceGatherer out of the renderer (#863)
* lockSurface: cleanup some resources

* renderer: move asyncResourceGatherer out of CRenderer

In preperation to recreate the rendering context.
2025-09-03 09:32:12 +00:00
Maximilian Seidler
8d0e56998e
core: remove dmabuf listeners after we are done with Screencopy (#858) 2025-08-27 14:40:51 +00:00
Maximilian Seidler
a356bf055b
background: monitor transforms fixups (#859) 2025-08-27 09:32:57 +00:00
Hiroki Tagato
347e05a40e
Make detection of pam library more portable (#840)
FreeBSD has the pam library installed in the base system. However, it does not provide pam.pc file. So pkg_check_modules() fails to detect pam library. With this change, cmake tries to find it using find_library() first and falls back to pkg_check_modules().
2025-08-05 17:00:48 +00: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
bdf0ef8282
version: bump to 0.9.1 2025-07-31 14:22:01 +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
Ben Leynen
71691634e4
Add ctrl+a as binding to clear password (#832) 2025-07-29 15:07:45 +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
Maximilian Seidler
1e5e62d6e3
background: fix mismatched asset sizes and transforms (#830) 2025-07-25 18:39:56 +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
Maximilian Seidler
d993bdc105
asyncResourceGatherer: fix conditions for skipping screencopy (#829) 2025-07-22 18:12:05 +02:00
Maximilian Seidler
8ebcee2969
seat: restore cursor shape to default (#820) 2025-07-21 21:19:01 +02:00
Maximilian Seidler
1553dd78fc
core: limit onClick to down events (#826) 2025-07-20 09:46:49 +02:00
31297a871b
version: bump to 0.9.0 2025-07-17 11:05:58 +02:00
Felix Salcher
814b339200
change password option to password-appearance 2025-07-13 19:18:20 +02:00