feat: add kanshi profile for laptop

nixos
Moritz Böhme 2024-08-30 10:27:00 +02:00
parent 6cbe647af7
commit ea07a73d07
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 23 additions and 0 deletions

View File

@ -27,6 +27,29 @@
users.users.moritz.packages = [ pkgs.poetry ]; 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 = { services.kanata = {
enable = true; enable = true;
keyboards = { keyboards = {