feat: add kanshi
This commit is contained in:
parent
e193064224
commit
c59e19a7cc
1 changed files with 48 additions and 2 deletions
|
|
@ -51,15 +51,61 @@
|
|||
keyMap = "de";
|
||||
};
|
||||
|
||||
home-manager.users.moritz.services.kanshi.settings = [
|
||||
{
|
||||
profile.name = "undocked";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
{
|
||||
profile.name = "docked";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
position = "2133,1800"; # NOTE: 2160 / 1.2 = 1800
|
||||
}
|
||||
{
|
||||
criteria = "DP-6";
|
||||
scale = 1.2;
|
||||
position = "2133,0";
|
||||
}
|
||||
{
|
||||
criteria = "DP-7";
|
||||
scale = 1.2;
|
||||
position = "0,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "home";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "LG Electronics LG TV SSCR2 0x01010101";
|
||||
scale = 1.2;
|
||||
position = "1920,0";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
position = "0,1080";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
# Configure keymap in X11
|
||||
layout = "de";
|
||||
# map caps to escape.
|
||||
xkbOptions = "caps:escape";
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
libinput.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.moritz = {
|
||||
isNormalUser = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue