mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
30 lines
642 B
Nix
30 lines
642 B
Nix
{
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
submaps = {
|
|
resize = {
|
|
onDispatch = "reset";
|
|
settings = {
|
|
binde = [
|
|
", right, resizeactive, 10 0"
|
|
", left, resizeactive, -10 0"
|
|
];
|
|
};
|
|
};
|
|
other = {
|
|
onDispatch = "resize";
|
|
settings = {
|
|
bind = [ ", a, exec, true" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
config=home-files/.config/hypr/hyprland.conf
|
|
assertFileExists "$config"
|
|
assertFileContains "$config" "submap = resize, reset"
|
|
assertFileContains "$config" "submap = other, resize"
|
|
'';
|
|
}
|