Add a few more rules to Kanshi

This commit is contained in:
Bun 2025-05-12 16:34:00 -04:00
parent fd2d9b18a0
commit a60084f77c
2 changed files with 39 additions and 1 deletions

View file

@ -8,8 +8,9 @@
"Keepers"
"Projects"
".ssh"
".gnupg"
".local/state/nix/profiles"
".ssh"
] ++ (if config.home.desktop.enable then [
"Documents"
"Photos"

View file

@ -3,12 +3,15 @@
services.kanshi = {
enable = config.home.desktop.enable;
settings = [
# Outputs
{
output = {
criteria = config.displays.tower1;
adaptiveSync = true;
mode = "1920x1080@143.979996Hz";
};
}
{
output = {
criteria = config.displays.jupiter;
@ -17,6 +20,8 @@
scale = 1.15;
};
}
# Profiles
{
profile = {
name = "primary";
@ -41,6 +46,7 @@
];
};
}
{
profile = {
name = "estradiol";
@ -61,6 +67,24 @@
];
};
}
{
profile = {
name = "byod";
outputs = [
{
criteria = "Dell Inc. DELL U3423WE H8LGMP3";
scale = 1.15;
status = "enable";
}
{
criteria = "eDP-1";
status = "disable";
}
];
};
}
{
profile = {
name = "docked";
@ -76,6 +100,19 @@
];
};
}
{
profile = {
name = "deck";
outputs = [
{
criteria = config.displays.jupiter;
status = "enable";
}
];
};
}
{
profile = {
name = "undocked";