nixos-config/modules/services/kanshi.nix

38 lines
1.3 KiB
Nix
Raw Normal View History

2022-10-31 17:01:43 +01:00
#
# System notifications
#
{ config, lib, pkgs, ... }:
{
services.kanshi = {
enable = true;
profiles = {
undocked = {
outputs = [
{ criteria = "eDP-1"; status = "enable"; mode = "1920x1080"; position = "0,0"; }
2022-10-31 17:01:43 +01:00
];
};
2023-03-20 20:25:34 +01:00
#docked_c = {
# outputs = [
# { criteria = "eDP-1"; status = "enable"; mode = "1920x1080"; position = "2560,0"; }
# { criteria = "DP-1"; status = "enable"; mode = "2560x1080"; position = "0,0"; }
# ];
#};
2022-11-03 16:10:46 +01:00
docked_c = {
2022-10-31 17:01:43 +01:00
outputs = [
2023-03-20 20:25:34 +01:00
{ criteria = "eDP-1"; status = "enable"; mode = "1920x1080"; position = "0,0"; scale = 1.5; }
{ criteria = "DP-1"; status = "enable"; mode = "2560x1080"; position = "1920,0"; }
2022-11-03 16:10:46 +01:00
];
};
docked_triple = {
outputs = [
{ criteria = "eDP-1"; status = "disable"; mode = "1920x1080"; position = "4480,0"; }
2023-03-20 20:25:34 +01:00
{ criteria = "HDMI-A-1"; status = "enable"; mode = "1920x1080"; position = "0,0"; }
{ criteria = "DP-1"; status = "enable"; mode = "2560x1080"; position = "1920,0"; }
2022-10-31 17:01:43 +01:00
];
};
};
};
}