nixos-config/users/rouven/modules/wayland/shikane.nix

149 lines
3.1 KiB
Nix
Raw Normal View History

2023-06-15 21:01:17 +02:00
{
services.shikane = {
enable = true;
settings = {
profile = [
2023-08-27 15:48:42 +02:00
{
# TODO home vertical
name = "home";
output = [
{
match = "eDP-1";
enable = true;
position = {
x = 1920;
y = 0;
};
}
{
match = "DP-2";
enable = true;
position = {
x = 0;
y = 0;
};
}
{
match = "HDMI-A-1";
enable = true;
position = {
x = 3840;
y = 0;
};
}
];
}
{
# TODO home vertical
name = "home-vertical";
output = [
{
match = "eDP-1";
enable = true;
position = {
x = 1080;
y = 0;
};
}
{
match = "DP-3";
enable = true;
position = {
x = 0;
y = 0;
};
transform = "270";
}
{
match = "HDMI-A-1";
enable = true;
position = {
x = 3000;
y = 0;
};
}
];
}
2023-06-15 21:01:17 +02:00
{
name = "external-monitor-default";
output = [
{
match = "eDP-1";
enable = true;
2023-08-27 15:48:42 +02:00
position = {
x = 0;
y = 0;
};
2023-06-15 21:01:17 +02:00
}
{
match = "HDMI-A-1";
enable = true;
position = {
x = 1920;
y = 0;
};
}
];
}
2023-08-27 15:48:42 +02:00
{
name = "external-monitor-usb-c";
output = [
{
match = "eDP-1";
enable = true;
position = {
x = 1920;
y = 0;
};
}
{
match = "DP-2";
enable = true;
position = {
x = 0;
y = 0;
};
}
];
}
# vertical mode if on dp-3
{
name = "external-monitor-usb-c-vertical";
output = [
{
match = "eDP-1";
enable = true;
position = {
x = 1080;
y = 840;
};
}
{
match = "DP-3";
enable = true;
position = {
x = 0;
y = 0;
};
transform = "270";
}
];
}
2023-06-15 21:01:17 +02:00
{
name = "builtin";
output = [
{
match = "eDP-1";
enable = true;
2023-08-27 15:48:42 +02:00
position = {
x = 0;
y = 0;
};
2023-06-15 21:01:17 +02:00
}
];
}
];
};
};
}