home: add kanshi

This commit is contained in:
Guanran Wang 2024-07-08 01:13:29 +08:00
parent 6a986e4a0d
commit e7029ac06b
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{
services.kanshi = {
enable = true;
settings = [
{
profile.name = "internal";
profile.outputs = [
{
criteria = "eDP-1";
status = "enable";
}
];
}
{
profile.name = "external";
profile.outputs = [
{
criteria = "eDP-1";
status = "disable";
}
{
criteria = "ASUSTek COMPUTER INC VG27AQML1A S5LMQS059959";
mode = "2560x1440@240.001007";
status = "enable";
}
];
}
];
};
}

View file

@ -18,6 +18,7 @@
in { in {
imports = [ imports = [
../i3status-rust ../i3status-rust
../kanshi
../mako ../mako
../swayidle ../swayidle
../swaylock ../swaylock