Removed dead code for fingerprint popup

This commit is contained in:
Jurn Wubben 2025-05-24 00:24:05 +02:00
parent e51fbacdfa
commit d4be6c18c9
3 changed files with 6 additions and 19 deletions

View file

@ -8,7 +8,7 @@
}: let
inherit (lib) getExe;
inherit (config.lib.stylix.colors) base0D;
inherit (osConfig.niksos) desktop games portable fingerprint;
inherit (osConfig.niksos) games portable;
runOnce = program: "pgrep ${program} || uwsm app -- ${program}";
uwsm = getExe pkgs.uwsm;
@ -115,9 +115,6 @@ in {
])
++ lib.optionals portable [
"$m Shift, S, exec, ${somcli}"
]
++ lib.optionals fingerprint [
", XF86PowerOff, exec, pgrep fprintd-verify || ${uwsm} app -- ${foot} -a 'foot-fprintd' sh -c 'fprintd-verify && systemctl sleep'" #NOTE: Also check home/wayland/hyprland/settings + system/hardware/fingerprint
];
bindl = [

View file

@ -1,8 +1,4 @@
{
lib,
osConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
xwayland = {
force_zero_scaling = true;
@ -93,15 +89,11 @@
vrr = 1;
};
windowrule =
[
"float, class:com.github.phase1geo.annotator"
"float, class:foot-somcli"
"size >30% >30%, class:foot-somcli"
]
++ lib.optionals osConfig.niksos.fingerprint [
"float, class:foot-fprintd"
];
windowrule = [
"float, class:com.github.phase1geo.annotator"
"float, class:foot-somcli"
"size >30% >30%, class:foot-somcli"
];
#NOTE: Also check home/wayland/hyprland/binds + system/hardware/fingerprint
};
}

View file

@ -9,8 +9,6 @@
uwsm = lib.getExe pkgs.uwsm;
foot = lib.getExe pkgs.foot;
in {
#NOTE: Also check home/wayland/hyprland/settings + home/wayland/hyprland/binds
options.niksos.fingerprint = mkEnableOption "fingerprint support.";
config = mkIf fingerprint {
services.fprintd.enable = true;