33 lines
643 B
Nix
33 lines
643 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
wideriver
|
|
river
|
|
];
|
|
|
|
|
|
|
|
wayland.windowManager.river = {
|
|
enable = true;
|
|
settings = {
|
|
default-layout = "wideriver";
|
|
send-layout-cmd="wideriver \"--layout left --stack dwindle --count 1 --ratio 0.5\"";
|
|
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";
|
|
"Super R" = "fuzzel";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|
|
|