feat: refactor kanshi
This commit is contained in:
parent
a64752da5a
commit
8b76537d24
1 changed files with 12 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue