1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-09 04:39:44 +01:00
home-manager/tests/modules/services/window-managers/i3/i3-followmouse.nix

28 lines
597 B
Nix
Raw Normal View History

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