feat: add kanshi profile for laptop

This commit is contained in:
Moritz Böhme 2024-08-30 10:27:00 +02:00
parent 6cbe647af7
commit ea07a73d07
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -27,6 +27,29 @@
users.users.moritz.packages = [ pkgs.poetry ];
home-manager.users.moritz.services.kanshi.profiles = {
undocked = {
outputs = [
{
criteria = "eDP-1";
}
];
};
docked = {
outputs = [
{
criteria = "eDP-1";
position = "640,1800"; # NOTE: 2160 / 1.2 = 1800
}
{
criteria = "DP-3";
scale = 1.2;
position = "0,0";
}
];
};
};
services.kanata = {
enable = true;
keyboards = {