Fix i3 startup commands

This commit is contained in:
Evie Litherland-Smith 2023-04-04 08:26:27 +01:00
parent c4d0eb3df8
commit b83d57f8fa
2 changed files with 23 additions and 25 deletions

View file

@ -1,5 +0,0 @@
{ ... }:
[
{ command = "$HOME/.screenlayout/default.sh";}
{ command = "nitrogen --restore";}
]

View file

@ -14,24 +14,27 @@ in
nitrogen
i3blocks
];
#xsession.windowManager.i3 = {
# enable = true;
# config = {
# modifier = mod;
# floating = {
# modifier = mod;
# };
# fonts = {
# names = ["Noto Sans Regular" "DejaVu Sans Mono"];
# style = "Regular";
# size = 12.0;
# };
# gaps = {
# inner = 6;
# outer = 3;
# };
# keybindings = import ./config/i3/keybindings.nix;
# startup = import ./config/i3/startup.nix;
# };
#};
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = mod;
floating = {
modifier = mod;
};
fonts = {
names = [ "Noto Sans Regular" "DejaVu Sans Mono" ];
style = "Regular";
size = 12.0;
};
gaps = {
inner = 6;
outer = 3;
};
keybindings = import ./config/i3/keybindings.nix;
startup = [
{ command = "$HOME/.screenlayout/default.sh"; }
{ command = "nitrogen --restore"; }
];
};
};
}