system: move xrandr to system config
This commit is contained in:
parent
e2ac4697eb
commit
0dd0d7dc5e
2 changed files with 14 additions and 7 deletions
|
@ -113,16 +113,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
xsession.initExtra = ''
|
||||
xrandr --output HDMI-A-0 --rotate right --left-of DisplayPort-1
|
||||
'';
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
configFile = {
|
||||
# add config for alacritty terminal
|
||||
# "alacritty/alacritty.yml".source = ../programs/alacritty/alacritty.yml;
|
||||
|
||||
"stylish-haskell/config.yaml".source = ../programs/stylish-haskell/config.yml;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -80,6 +80,20 @@ in
|
|||
xkbVariant = "dvorak,";
|
||||
xkbOptions = "grp:win_space_toggle";
|
||||
|
||||
xrandrHeads = [
|
||||
{
|
||||
output = "DisplayPort-1";
|
||||
primary = true;
|
||||
}
|
||||
{
|
||||
output = "HDMI-A-0";
|
||||
monitorConfig = ''
|
||||
Option "Rotate" "right"
|
||||
Option "LeftOf" "DisplayPort-1"
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
displayManager = {
|
||||
defaultSession = "none+xmonad";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue