Fixed plasma6; added kodi; added wluma; commented out printing; moved fingerprint shit

This commit is contained in:
Jurn Wubben 2025-06-22 23:05:42 +02:00
parent 7ff74bc31c
commit b524030089
6 changed files with 83 additions and 41 deletions

View file

@ -11,10 +11,16 @@
in {
options.niksos.fingerprint = mkEnableOption "fingerprint support.";
config = mkIf fingerprint {
services.fprintd.enable = true;
services = {
fprintd.enable = true;
logind.extraConfig = mkIf desktop.hyprland ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
};
home-manager.users.jsw.wayland.windowManager.hyprland.settings = mkIf desktop.hyprland {
bind = mkIf fingerprint [
bind = [
", XF86PowerOff, exec, ${uwsm} app -- pgrep fprintd-verify && exit 0 || ${foot} -a 'foot-fprintd' sh -c 'fprintd-verify && systemctl sleep'"
];
windowrule = [