Maximilian Seidler
82808290d9
core: correct $LAYOUT replacement ( #755 )
...
Build / nix (push) Has been cancelled
* core: remove fake declaration in header
* widgets: fix layout rendering
* core: remove CSeatManager::getActiveKbLayoutName
---------
Co-authored-by: Heorhi Valakhanovich <code@mail.geov.name>
2025-04-25 13:01:34 +00:00
Honkazel
eb28a71756
clang-tidy: fix some errors ( #751 )
...
I did c+p .clang-tidy from Hyprland and didn't check it for any errors, lol. Still works though
Thanks to hyprwm/Hyprland#9543
2025-04-21 20:17:15 +02:00
Vaxry
b3f1aa7580
version: bump to 0.8.1
2025-04-17 18:07:52 +01:00
Mihai Fufezan
248dfb09f7
flake.lock: update
2025-04-17 10:18:52 +03:00
Maximilian Seidler
656704aeb0
config: default to center for label halign and valign ( #748 )
2025-04-15 09:05:42 +00:00
Maximilian Seidler
d953296227
renderer: fix gradient copy size in renderBorder ( #742 )
2025-04-12 11:47:53 +00:00
Maximilian Seidler
71d35aa75f
image: remove left over raw pointer to COutput ( #735 )
2025-04-10 07:36:54 +00:00
Vaxry
8f73c39f07
version: bump to 0.8.0
2025-04-08 16:37:50 +01:00
Maximilian Seidler
a8de918cc4
auth: use static for getValue ( #732 )
2025-04-08 16:37:13 +02:00
Brayden Zee
6daab0517c
fingerprint: update widgets after changing prompt ( #730 )
2025-04-08 04:49:41 +00:00
Maximilian Seidler
854235e1c8
output: refuse to create session lock surfaces with size 0x0 ( #729 )
2025-04-07 09:15:41 +00:00
Brayden Zee
dd4c1d5034
fingerprint: allow fprint to suspend and cancel verify for us ( #722 )
...
* fingerprint: allow fprint to suspend and cancel verify for us
* fingerprint: fix formatting
2025-04-07 09:14:05 +00:00
Maximilian Seidler
0b1f2a97ef
input-field: decouple outer color and base for hidden input random colors ( #727 )
2025-04-02 22:15:59 +02:00
Maximilian Seidler
ce1eb7b5f9
core: move fail_timeout from input-field to general ( #718 )
2025-04-02 22:13:22 +02:00
Maximilian Seidler
1ebbc35c55
core: remove attemptRestoreOnDeath and replace some exits with RASSERT ( #720 )
2025-03-30 01:33:34 +01:00
davc0n
d9a1625315
assets: update example.conf ( #709 )
...
Includes examples from wiki with minor modifications.
Date and time labels inspired by https://github.com/catppuccin/hyprlock
Aims to improve out-of-the-box experience and basic stuff reference.
2025-03-27 08:02:32 +00:00
davc0n
9e54d02590
renderer: remove loading bar ( #714 )
2025-03-25 06:23:37 +00:00
Maximilian Seidler
f883e669d1
CMake: require wayland-protocols>=1.35 ( #713 )
...
tablet-v2 was moved to stable in 1.35. Hyprlock will fail to build if a
earlier version is used.
2025-03-20 08:52:02 +00:00
Maximilian Seidler
ee8ee1f9f7
core: move password buffer clearing to handleInput ( #708 )
...
Makes more sense than clearing the input buffer in the auth impl.
Also added a check for the password buffer length to reset the fail
color as soon as the password length > 0.
2025-03-17 11:25:51 +00:00
André Silva
7ab3162d66
nix: mesa -> libgbm
...
d209d800b7
2025-03-14 08:36:46 +02:00
Maximilian Seidler
9e82fe3547
core: some guards for reconnecting monitors ( #704 )
2025-03-08 10:58:29 +01:00
Maximilian Seidler
a13b6f0d1a
core: print hyprlock version in the logs ( #703 )
2025-03-08 10:49:01 +01:00
Maximilian Seidler
78ad1d46b5
label: fix crashes when keymap is a nullptr after suspend ( #699 )
2025-03-06 08:37:43 +01:00
Maximilian Seidler
cb1c504b38
image: set resourceId in configure ( #701 )
...
Fixes a regression caused by #686 (Images don't render cause of a missing resourceId)
2025-03-06 08:25:53 +01:00
Maximilian Seidler
9f37c1c8e9
core: more hyprutils smart pointer usage and safe references to widgets ( #686 )
...
* core: move to UP and make widgets use SPs
* widgets: make widgets have a self ref to avoid UB
* fix shadows and let them have a WP to widgets
2025-03-05 08:35:43 +01:00
Maximilian Seidler
712ab62a42
config: make sure disabled animation don't need a valid speed or bezier ( #698 )
2025-03-05 08:05:19 +01:00
Vaxry
e588351d1d
version: bump to 0.7.0
2025-02-22 22:56:54 +00:00
Maximilian Seidler
2a6ec58366
cmake: bump hyprutils version ( #693 )
2025-02-22 10:55:53 +00:00
Maximilian Seidler
f6e4c1374e
animations: linear bezier for gradient, warp behavior ( #689 )
2025-02-21 01:10:45 +01:00
Maximilian Seidler
c4b2175822
core: don't rely on the locked event to create lock surfaces dynamically ( #687 )
2025-02-16 06:29:52 +00:00
Maximilian Seidler
82b63a6930
nix/cmake: make it print the version hash ( #683 )
...
* cmake: allow passing commit and version commit
* nix: don't set HYPRLOCK_VERSION_COMMIT
(Nix) Makes it so `--version` always prints the short commit hash, instead of not printing it.
2025-02-10 10:33:54 +00:00
Vaxry
a27585b383
core: add mallopt to modify trim threshold
2025-02-09 17:39:23 +00:00
Mihai Fufezan
ad7600dca9
CI: remove deprecated magic-nix-cache-action
2025-02-08 23:07:22 +02:00
Honkazel
dc6d72158c
core: clang-tidy and comp fixes ( #679 )
...
* clang-tidy and comp fixes
* nit changes
2025-02-06 11:36:08 +00:00
Maximilian Seidler
ce750456f9
fingerprint: handle failed dbus connection ( #676 )
2025-02-05 09:36:31 +00:00
Maximilian Seidler
ec82da7108
input-field: improve dynamic width ( #647 )
...
* input-field: fixup dynamic width
- Instead of not rendering placeholder text,
if it does not fit into the input-field width,
render it up until the input field size.
- Improve updateWidth.
* input-field: make sure dots center does not change during width anim
2025-02-04 10:31:12 +00:00
IChengHo
465148ac21
input-field: Fix crash when numlock is on and numlock_color is fallback ( #673 )
...
When numlock is enabled but numlock_color is fallback, `targetGrad`
remains nullptr. This causes Hyprlock to crash in updateColors().
This commit aligns the condition check for assigning `targetGrad` with
later usages.
2025-02-03 18:28:35 +00:00
Maximilian Seidler
c976b6a1d1
input-field: fix color updates for BORDERLESS swap_font_color false ( #669 )
2025-01-30 11:03:17 +00:00
Maximilian Seidler
1bfa79eb83
core: move to hyprlang config value wrapper ( #667 )
2025-01-29 23:10:27 +01:00
Maximilian Seidler
e77bc92b99
core: don't attempt to unlock when we are not locked yet ( #661 )
2025-01-25 21:43:21 +01:00
Jan Beich
408ce95dd0
widgets: chase libc++ < 19 compat after 2c5ae4d661
( #659 )
...
src/renderer/widgets/IWidget.cpp:123:11: error: no type named 'time_zone' in namespace 'std::__1::chrono'; did you mean 'date::time_zone'?
123 | const std::chrono::time_zone* pCurrentTz = nullptr;
| ^~~~~~~~~~~~~~~~~~~~~~
| date::time_zone
/usr/include/date/tz.h:785:7: note: 'date::time_zone' declared here
785 | class time_zone
| ^
src/renderer/widgets/IWidget.cpp:127:39: error: no member named 'locate_zone' in namespace 'std::__1::chrono'
127 | pCurrentTz = std::chrono::locate_zone(name);
| ~~~~~~~~~~~~~^
2025-01-24 17:31:43 +01:00
Maximilian Seidler
07b5e1b4cd
core: fix background screenshot on nvidia ( #656 )
...
Fixes DMA buffer screencopy on nvidia cards. Additionally adds shm screencopy as an option
2025-01-24 14:25:37 +01:00
Mihai Fufezan
742eb98c6a
flake.lock: update
2025-01-23 14:31:33 +02:00
Maximilian Seidler
d547d1d4e3
core: move wayland event reading into the poll thread ( #655 )
...
This was done, so that we can
wl_display_prepare_read -> poll -> wl_display_read_events
That fixes synchronization issues on nvidia proprietary drivers.
2025-01-21 13:42:11 +00:00
Maximilian Seidler
02639c2759
animation: small gradient fail transition fixup ( #648 )
2025-01-15 16:09:11 +01:00
Maximilian Seidler
4f964371cc
auth: fixup prompt and fail substitution ( #641 )
...
BREAKING:
- Removed $PROMPT variable. Either use $PAMPROMPT or $FPRINTPROMPT.
- Removed $FPRINTMESSAGE. Use $FPRINTPROMPT instead. There is also
$FPRINTFAIL.
2025-01-12 17:18:18 +00:00
pastalian
023aff52ad
cmake: explicitly require GLES3 component ( #645 )
...
This allows building on a system that:
- Lack GLX support
- Require explicit declaration for OpenGL::EGL
Reference: 0cc144ecfd/Tests/FindOpenGL/Test/CMakeLists.txt (L127-131)
2025-01-11 16:38:18 +00:00
Maximilian Seidler
e84267085d
animation: allow adding vars during ::tick ( #644 )
2025-01-11 16:36:18 +00:00
izmyname
a5e346783f
examples: Add default animations to the example config ( #643 )
2025-01-10 13:15:27 +00:00
Maximilian Seidler
73e23e535f
animations: fix overshoot beziers and cleanup animation config parsing ( #642 )
2025-01-09 20:59:16 +00:00