add quit bind to niri

This commit is contained in:
TheWanderingCrow 2025-07-01 08:48:01 -04:00
parent 718d63e319
commit aa9889271d

View file

@ -6,11 +6,30 @@
}: {
imports = [
inputs.niri-flake.homeModules.niri
../sway/waybar.nix
];
nixpkgs.overlays = [
inputs.niri-flake.overlays.niri
];
home.packages = with pkgs; [
foot
wofi
swaynotificationcenter
polkit_gnome
swayidle
sway-audio-idle-inhibit
swaylock-effects
sway-contrib.grimshot
waybar
wl-clipboard
hyprlock
grim
slurp
swappy
wljoywake
];
programs.niri = {
enable = true;
settings = {
@ -28,6 +47,9 @@
hotkey-overlay.title = "Lock computer";
action = spawn "";
};
"Mod+Shift+E" = {
action = quit;
};
};
input = {
keyboard = {