Commit graph

45 commits

Author SHA1 Message Date
moggiesir
f48540fcd4
auth: Support parallel fingerprint auth (#514)
* auth: Support parallel fingerprint auth

I chose to use Fprint's dbus interface directly rather than going through pam (which uses Fprint's dbus interface) due to poor handling of system sleep somewhere between fprintd and pam. When preparing for sleep, fprintd puts the device to sleep, which causes VerifyStatus to emit with verify-unknown-error, which normally should be responded to by calling both Device.StopVerify and Device.Release (and this is what pam does). Unfortunately, if you try to release the device when the system is preparing for sleep, you'll get an error that the device is busy and then you can't can't claim or release the device for 30 seconds.

pam also has a max timeout for pam_fprintd.so of 99 seconds, and so if we used pam, we'd have to deal with the timeouts and keep restarting the auth conversation.

gdm/gnome-session lock seems to get around these issues by having a shutter on top of the lock screen that you have to interact with first that gives gnome-session a trigger to start fingerprint auth.

* nix/overlays: add sdbus overlay

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-10-22 01:08:24 +01:00
André Silva
73b0fc26c0 nix: add wayland-scanner native build input 2024-09-01 18:19:54 +03:00
cac93f67e8
CMake, Nix: add VERSION file 2024-07-18 20:45:42 +03:00
Vaxry
c5b8ad03d0
core: move to hyprutils for utils (#362)
* core: move to hyprutils for utils

* Nix: add hyprutils dep

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-06-08 23:49:49 +02:00
ba4b08e5f5
nix/hm-module: remove 2024-05-21 19:45:18 +03:00
Daniel Mensinger
415262065f
core: Add support for JPEG and WEBP background images (#286)
* Add KDevelop files to the .gitignore

* Add support for JPEG and WEBP background images

Most of the code is copy-pasted from hyprpaper

* Try doing nix stuff

* Do not use brackets for short ifs
2024-04-24 18:06:14 +01:00
bvr-yr
04267a5f83
label: add text_align option for multi-line text (#278) 2024-04-13 14:38:06 +01:00
Maximilian Seidler
6fa65e1172
input-field: increase default fade_timeout (#276) 2024-04-11 19:57:46 +01:00
715a54fff4
Nix: remove patch 2024-04-11 01:31:31 +03:00
bvr-yr
eb1123fa2e
widgets: add Shape + minor image improve (#266)
* widgets: add Shape

* image: minor improvment

* glClear on FB alloc

* add Nix HM

* always create FB if not xray
2024-04-10 17:24:17 +01:00
bvr-yr
bbbb960e42
image: add reload options (#247)
* image: add reload options

* check for actual file changes

* use modtime

* check only same paths

* add Nix HM
2024-04-07 18:09:25 +01:00
Austin Horstman
071ebcefb9 nix/hm-module: add shadowable to images 2024-03-31 14:30:03 +03:00
bvr-yr
ad8a1e9b10 Nix/HM module: fix rotate option 2024-03-29 21:51:55 +02:00
bvr-yr
84c6282d6a
widgets: add rotate option to label and image (#234)
* widgets: add `rotate` option to label and image

* use framebuffer for image
2024-03-29 19:01:11 +00:00
Maximilian Seidler
0ba5b7ee67 Nix/HM module: add ignore_empty_input option 2024-03-27 13:25:35 +02:00
Mihai Fufezan
ab2836360b Nix/HM module: add sources and extraConfig 2024-03-26 08:15:16 +02:00
Maximilian Seidler
0db5afb9d6 Nix/HM module: empty defaults for images and labels 2024-03-22 12:00:03 +02:00
Mihai Fufezan
f237dead6c
Nix: fix install error
Fixes #214
2024-03-21 19:25:55 +02:00
bvr-yr
1bf6ffdbe2
input-field: new color features (#201)
* input-field: new color features

* add nix HM

* add workaround for faillasset not being shown on empty imput

* comment

* change cfg option name

* remove TODO

* small fix

* one more edge check

* dedup changeColor function

* simplify more
2024-03-19 02:46:52 +00:00
bvr-yr
3e38762e84
widgets: add Image (#191) 2024-03-16 16:44:44 +02:00
Abhinav Anil
1c92c6109c
renderer: add fade out animation and property to disable (#188)
* renderer, Nix/HM module: add fade out animation and prop

* fix: fade duration and disable on non hyprland session

* fix: revert needsFrame condition, update duration to 500ms

* fix: make shadows obey widget opacity
2024-03-14 13:23:41 +00:00
bvr-yr
f3a41161ec
input-field: add capslock and numlock options (#182)
* input-field: add capslock and numlock options

* fixups

* Nix/HM module: add {caps,num}lock options

---------

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2024-03-13 01:10:42 +00:00
Maximilian Seidler
5c91621ad2 Nix/HM module: remove shadow options from backgrounds 2024-03-11 22:47:16 +02:00
bvr-yr
6c9d6f05a0
input-field: check_color + some fixes (#172) 2024-03-11 15:17:14 +00:00
bvr-yr
149b6737c2
input-field: fail display improvments (#154)
* input-field: fail display improvments

* update Home Manager

* add `$ATTEMPTS` variable, change defaults

* nix wording

* log failed attempts
2024-03-09 16:44:58 +00:00
Jappie3
cb08f60254
Nix/HM module: add shadow options (#141) 2024-03-09 02:11:27 +02:00
Maximilian Seidler
3d6162e06e
input-field: Add fade out timeout #3 (#142)
* input-field: add fade out timeout

* input-field: let dots reset themselfs

Now the dots kind of fade into the placeholder text on a failure.

* Nix/HM module: add input-field:fade_timeout option
2024-03-06 21:12:49 +00:00
matteo4375
d45ffd53e7
Nix/HM module: add missing options (#132) 2024-03-05 18:50:21 +02:00
bvr-yr
d1f542a75f
input-field: add dots rounding option (#130)
* refactor: move dot props to struct, rename to camelCase

* input-field: add dots rounding option

* render: minor fix for odd input-field width

* add dots_rounding option to Home Manager
2024-03-04 17:59:36 +00:00
matteo4375
49ef1d306c
input-field: Add rounding option (#127)
* input-field: add rounding option

* add rounding option to nix home manager module
2024-03-04 01:54:27 +00:00
Mihai Fufezan
97548ec0ad
Nix/HM module: add security.pam instructions 2024-03-02 22:13:02 +02:00
Mihai Fufezan
4aeea1d580
Nix: refactor flake 2024-02-29 15:13:35 +02:00
retchohrips
f411d9d632 Nix: add blur settings and no_fade_in 2024-02-22 11:07:27 +02:00
Mihai Fufezan
59997a7c38
Nix: add mesa dependency 2024-02-22 01:09:27 +02:00
Mihai Fufezan
29c5d4da94
Nix: add libdrm dependency 2024-02-22 00:55:46 +02:00
Austin Horstman
3b7e055dcf nix: add general:grace 2024-02-21 20:45:36 +02:00
Austin Horstman
9dea7c2f55 nix: add dots_center 2024-02-21 20:25:14 +02:00
Leon
3d27060688 Nix: HM module: add dots options + convert input fields and labels to type = listOf submodule 2024-02-21 13:49:21 +02:00
Leon
a756d761eb Nix: add hide_input to hm module + correctly convert bools to strings + some minor styling changes 2024-02-20 19:51:23 +02:00
jacekpoz
0cc6f88f29 nix: add package to home.packages in hm module 2024-02-20 18:04:24 +02:00
jacekpoz
4663920d29
nix: add color option to backgrounds in the hm module (#22)
Co-authored-by: jacekpoz <jacekpoz@cock.li>
2024-02-20 18:03:06 +02:00
jacekpoz
e1aac7e135 nix: fix hm module
changed cfg from config.services.hyprlock to config.programs.hyprlock
2024-02-20 17:39:45 +02:00
Mihai Fufezan
843695b0b0
Nix: services.hyprlock -> programs.hyprlock
Mistake on my part when writing this module.
2024-02-20 14:59:09 +02:00
DamitusThyYeetus123
2b20e48a37
Nix: update HM module 2024-02-20 14:37:12 +02:00
Mihai Fufezan
c1b96e12ae
Nix & CI: init 2024-02-20 14:37:12 +02:00