Update flake.lock and add floating hotkeys to niri

This commit is contained in:
Jimbo 2025-01-19 10:47:35 -05:00
parent b0247d330e
commit 84f0222dff
6 changed files with 36 additions and 27 deletions

View file

@ -7,6 +7,7 @@
./ncmpcpp
./neovim
./nh
./notfound
./ranger
./spotdl
./tmux

View file

@ -0,0 +1,4 @@
{ ... }:
{
programs.command-not-found.enable = true;
}

View file

@ -133,6 +133,10 @@
${primeMod}+${secMod}+j { set-window-height "-${resizeAmount}%"; }
${primeMod}+${secMod}+k { set-window-height "+${resizeAmount}%"; }
${primeMod}+${secMod}+l { set-column-width "+${resizeAmount}%"; }
// Floating
${primeMod}+space { switch-focus-between-floating-and-tiling; }
${primeMod}+Shift+space { toggle-window-floating; }
// There are also commands that consume or expel a single window to the side.
${primeMod}+Ctrl+h { consume-or-expel-window-left; }

View file

@ -5,8 +5,11 @@
stub-ld.enable = false;
};
programs.nano.enable = false;
programs.less.lessopen = null;
programs = {
nano.enable = false;
less.lessopen = null;
command-not-found.enable = false;
};
services.logrotate.enable = false;
}

View file

@ -3,10 +3,7 @@
imports = [ ./gc ];
nix.settings = {
experimental-features = [
"nix-command"
"flakes"
];
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};