home-manager/tests/modules/services/window-managers/i3/i3-followmouse.nix

28 lines
597 B
Nix
Raw Normal View History

2023-05-12 22:08:12 +00:00
{ ... }:
{
2023-05-12 22:08:12 +00:00
xsession.windowManager.i3 = {
enable = true;
2023-05-12 22:08:12 +00:00
config.focus.followMouse = false;
};
2023-05-12 22:08:12 +00:00
nixpkgs.overlays = [
(self: super: {
dmenu = super.dmenu // { outPath = "@dmenu@"; };
2023-05-12 22:08:12 +00:00
i3 = super.writeScriptBin "i3" "" // { outPath = "@i3@"; };
2023-05-12 22:08:12 +00:00
i3-gaps = super.writeScriptBin "i3" "" // { outPath = "@i3-gaps@"; };
2023-05-12 22:08:12 +00:00
i3status = super.i3status // { outPath = "@i3status@"; };
})
];
2023-05-12 22:08:12 +00:00
nmt.script = ''
assertFileExists home-files/.config/i3/config
assertFileContent home-files/.config/i3/config \
${./i3-followmouse-expected.conf}
'';
}