36 lines
623 B
Nix
36 lines
623 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
river
|
|
];
|
|
|
|
|
|
|
|
wayland.windowManager.river = {
|
|
enable = true;
|
|
settings = {
|
|
default-layout = "wideriver";
|
|
map = {
|
|
normal = {
|
|
"Super Return" = "spawn alacritty";
|
|
"Alt Q" = "close";
|
|
"Super J" = "focus-view next";
|
|
"Super K" = "focus-view previous";
|
|
"Super+Shift J" = "swap next";
|
|
"Super+Shift K" = "swap previous";
|
|
|
|
};
|
|
};
|
|
extraConfig = "
|
|
``
|
|
wideriver -view-padding 6 -outer-padding 6 &
|
|
``
|
|
";
|
|
};
|
|
};
|
|
|
|
}
|
|
|