move display config to kanshi
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -4,4 +4,58 @@
|
||||
./flatpak.nix
|
||||
./programs.nix
|
||||
];
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
settings = [
|
||||
{
|
||||
output = {
|
||||
criteria = "Philips Consumer Electronics Company 27M2N5500 UK02418033254";
|
||||
position = "0,0";
|
||||
scale = 1.33;
|
||||
adaptiveSync = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
# eldrid built-in
|
||||
output = {
|
||||
criteria = "Chimei Innolux Corporation 0x1406 Unknown";
|
||||
position = "0,0";
|
||||
scale = 1.2;
|
||||
# adaptiveSync = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
output = {
|
||||
criteria = "Samsung Electric Company S24R65x H4TMA03291";
|
||||
mode = "1920x1080@74.973";
|
||||
position = "1920,0";
|
||||
transform = "90";
|
||||
adaptiveSync = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
profile.name = "desktop";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "Philips Consumer Electronics Company 27M2N5500 UK02418033254";
|
||||
}
|
||||
{
|
||||
criteria = "Samsung Electric Company S24R65x H4TMA03291";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "eldrid";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "Philips Consumer Electronics Company 27M2N5500 UK02418033254";
|
||||
}
|
||||
{
|
||||
criteria = "Chimei Innolux Corporation 0x1406 Unknown";
|
||||
position = "1920,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -137,25 +137,6 @@ in {
|
||||
transform "normal"
|
||||
// position x=1920 y=0
|
||||
}
|
||||
output "Samsung Electric Company S24R65x H4TMA03291" {
|
||||
position x=0 y=0
|
||||
variable-refresh-rate
|
||||
}
|
||||
output "Philips Consumer Electronics Company 27M2N5500 UK02418033254" {
|
||||
mode "2560x1440@${
|
||||
if hostName == "legion"
|
||||
then "144.001"
|
||||
else "180.000"
|
||||
}"
|
||||
variable-refresh-rate
|
||||
position x=0 y=0
|
||||
scale 1.33
|
||||
}
|
||||
output "PNP(AOC) 27V2G5 0x0000026C" {
|
||||
position x=1920 y=0
|
||||
mode "1920x1080@74.973"
|
||||
variable-refresh-rate
|
||||
}
|
||||
|
||||
cursor {
|
||||
xcursor-theme "${cursor.name}"
|
||||
|
Reference in New Issue
Block a user