chore(home-manager): update Kanshi configuration

This commit is contained in:
Yorick Barbanneau 2024-07-05 20:34:00 +02:00
parent dce2206d6d
commit 03d7dcbc24

View file

@ -4,18 +4,21 @@ with lib;
config = mkIf config.modules.desktop.sway.enable { config = mkIf config.modules.desktop.sway.enable {
services.kanshi = { services.kanshi = {
enable = config.modules.desktop.sway.kanshi ; enable = config.modules.desktop.sway.kanshi ;
profiles = { settings = [
standalone = { {
outputs = [
profile.name = "standalone";
profile.outputs = [
{ {
criteria = "eDP-1"; criteria = "eDP-1";
scale = 1.33; scale = 1.33;
status = "enable"; status = "enable";
} }
]; ];
}; }
home = { {
outputs = [ profile.name = "home";
profile.outputs = [
{ {
criteria = "Iiyama North America PL2792UH 1166310803122"; criteria = "Iiyama North America PL2792UH 1166310803122";
mode = "3840x2160"; mode = "3840x2160";
@ -34,9 +37,10 @@ with lib;
status = "disable"; status = "disable";
} }
]; ];
}; }
work = { {
outputs = [ profile.name = "work";
profile.outputs = [
{ {
criteria = "Iiyama North America PL2480H 11183M2807013"; criteria = "Iiyama North America PL2480H 11183M2807013";
mode = "1920x1080"; mode = "1920x1080";
@ -52,8 +56,8 @@ with lib;
status = "disable"; status = "disable";
} }
]; ];
}; }
}; ];
}; };
}; };
} }