feat: refactor kanshi

This commit is contained in:
Moritz Böhme 2024-10-17 13:02:38 +02:00
parent a64752da5a
commit 8b76537d24
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -27,16 +27,19 @@
users.users.moritz.packages = [ pkgs.poetry ];
home-manager.users.moritz.services.kanshi.profiles = {
undocked = {
outputs = [
home-manager.users.moritz.services.kanshi.settings = [
{
profile.name = "undocked";
profile.outputs = [
{
criteria = "eDP-1";
}
];
};
docked = {
outputs = [
}
{
profile.name = "docked";
profile.outputs = [
{
criteria = "eDP-1";
position = "640,1800"; # NOTE: 2160 / 1.2 = 1800
@ -47,8 +50,9 @@
position = "0,0";
}
];
};
};
}
];
services.kanata = {
enable = true;