infrastructure/home/desktop/kanshi.nix

32 lines
564 B
Nix
Raw Normal View History

{...}: {
services.kanshi = {
enable = true;
systemdTarget = "hyprland-session.target";
settings = [
{
profile.name = "office";
profile.outputs = [
{
criteria = "DP-3";
status = "enable";
}
{
criteria = "eDP-1";
status = "disable";
}
];
}
{
profile.name = "home";
profile.outputs = [
{
criteria = "eDP-1";
status = "enable";
}
];
}
];
};
}