home: add kanshi

This commit is contained in:
Guanran Wang 2024-07-08 01:13:29 +08:00
parent 61a597c4d3
commit 9666aa9535
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 {
imports = [
../i3status-rust
../kanshi
../mako
../swayidle
../swaylock