autorandr service

This commit is contained in:
Sridhar Ratnakumar 2021-11-19 20:33:52 -05:00
parent 246938e646
commit 472c77c8bb
3 changed files with 5 additions and 2 deletions

View file

@ -22,6 +22,5 @@
xclip
xsel
arandr
autorandr
];
}

View file

@ -26,4 +26,8 @@
};
};
services.xserver.displayManager.defaultSession = "none+xmonad";
services.autorandr = {
enable = true;
};
}

View file

@ -19,7 +19,7 @@ main = do
where
cfg =
def
{ -- modMask = mod4Mask, -- Use Super instead of Alt
{ modMask = mod4Mask, -- Use Super instead of Alt (Using Alt messes up bash shortcuts)
terminal = "alacritty", -- "myst",
layoutHook =
borderSpacingBetweenWindows $