niri and yubikey login config
This commit is contained in:
parent
b40f1fc5fb
commit
3641a241a1
3 changed files with 29 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.conf) keys extraLayout;
|
||||
|
@ -128,7 +129,6 @@ in {
|
|||
|
||||
spawn-at-startup = [
|
||||
{command = ["waybar"];}
|
||||
{command = ["swayidle" "-w" "before-sleep" "swaylock"];}
|
||||
];
|
||||
|
||||
binds = {
|
||||
|
@ -258,7 +258,7 @@ in {
|
|||
"Print".action.screenshot-screen = [];
|
||||
|
||||
# Exit
|
||||
"Mod+Shift+L".action.spawn = "swaylock";
|
||||
"Mod+Shift+L".action.spawn = ["${pkgs.systemd}/bin/loginctl" "lock-session"];
|
||||
"Mod+Shift+Q".action.quit = [];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue