nixos/hosts/mu/sway.nix
2023-10-09 17:36:28 +02:00

27 lines
671 B
Nix

{ home-manager, ... }: {
home-manager.users.caspervk = {
wayland.windowManager.sway = {
config = {
# swaymsg -t get_outputs
output = {
"AU Optronics 0xE48D Unknown" = {
mode = "1920x1080@60.052Hz";
position = "0,0";
};
"AOC Q27T1G5 0x000007C8" = {
mode = "2560x1440@74.968Hz";
position = "1920,0";
};
"AOC Q27T1G5 0x0000080B" = {
mode = "2560x1440@74.968Hz";
position = "4480,0";
};
};
workspaceOutputAssign = [
{ workspace = "9"; output = "eDP-1"; }
];
};
};
};
}