BROKEN: Expanding desktop option
This commit is contained in:
parent
ebf027263f
commit
73dd477f9e
44 changed files with 272 additions and 296 deletions
|
|
@ -9,13 +9,14 @@
|
|||
uwsm = lib.getExe pkgs.uwsm;
|
||||
foot = lib.getExe pkgs.foot;
|
||||
in {
|
||||
options.niksos.fingerprint = mkEnableOption "fingerprint support.";
|
||||
#NOTE: Also check home/wayland/hyprland/settings + home/wayland/hyprland/binds
|
||||
|
||||
options.niksos.fingerprint = mkEnableOption "fingerprint support.";
|
||||
config = mkIf fingerprint {
|
||||
services.fprintd.enable = true;
|
||||
|
||||
home-manager.users.jsw.wayland.windowManager.hyprland.settings = mkIf desktop {
|
||||
bind = [
|
||||
home-manager.users.jsw.wayland.windowManager.hyprland.settings = mkIf desktop.hyprland {
|
||||
bind = mkIf fingerprint [
|
||||
", 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