Fixed plasma6; added kodi; added wluma; commented out printing; moved fingerprint shit
This commit is contained in:
parent
7ff74bc31c
commit
b524030089
6 changed files with 83 additions and 41 deletions
|
|
@ -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 ''
|
||||
# don’t 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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue