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