feat: add kanshi profile for laptop
This commit is contained in:
parent
6cbe647af7
commit
ea07a73d07
1 changed files with 23 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue