Skip to content

Commit eed57b2

Browse files
committed
kanshi: move from deprecated config format
1 parent a81db8f commit eed57b2

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

home/wayland/kanshi.nix

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
services.kanshi = {
33
enable = true;
44
systemdTarget = "graphical-session.target";
5-
profiles = {
6-
home = {
7-
outputs = [
5+
settings = [
6+
{
7+
profile.name = "home";
8+
profile.outputs = [
89
{
910
criteria = "LG Electronics LG ULTRAWIDE 208NTKF4V093";
1011
mode = "3440x1440@60Hz";
@@ -16,17 +17,19 @@
1617
status = "disable";
1718
}
1819
];
19-
};
20-
solo = {
21-
outputs = [
20+
}
21+
{
22+
profile.name = "solo";
23+
profile.outputs = [
2224
{
2325
criteria = "eDP-1";
2426
status = "enable";
2527
}
2628
];
27-
};
28-
other = {
29-
outputs = [
29+
}
30+
{
31+
profile.name = "other";
32+
profile.outputs = [
3033
{
3134
criteria = "eDP-1";
3235
status = "enable";
@@ -36,7 +39,7 @@
3639
status = "enable";
3740
}
3841
];
39-
};
40-
};
42+
}
43+
];
4144
};
4245
}

0 commit comments

Comments
 (0)