move kanshi to niri module
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
...
|
||||
}: {
|
||||
swaync = import ./swaync;
|
||||
kanshi = import ./kanshi;
|
||||
network-manager-applet.enable = true;
|
||||
playerctld.enable = true;
|
||||
wpaperd.enable = true;
|
||||
|
66
modules/home/desktop/niri/services/kanshi/default.nix
Normal file
66
modules/home/desktop/niri/services/kanshi/default.nix
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
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-docked";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "Philips Consumer Electronics Company 27M2N5500 UK02418033254";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
# some scaling quirks
|
||||
criteria = "Chimei Innolux Corporation 0x1406 Unknown";
|
||||
position = "1933,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "eldrid-undocked";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "Chimei Innolux Corporation 0x1406 Unknown";
|
||||
position = "0,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user