nixos-config/modules/services/kanshi.nix

32 lines
1.0 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
];
};
2022-11-03 16:10:46 +01:00
docked_c = {
2022-10-31 17:01:43 +01:00
outputs = [
{ criteria = "eDP-1"; status = "enable"; mode = "1920x1080"; position = "2560,0"; }
{ criteria = "HDMI-A-1"; status = "enable"; mode = "2560x1080"; position = "0,0"; }
2022-11-03 16:10:46 +01:00
];
};
docked_triple = {
outputs = [
{ criteria = "eDP-1"; status = "disable"; mode = "1920x1080"; position = "4480,0"; }
{ criteria = "DP-1"; status = "enable"; mode = "1920x1080"; position = "0,0"; }
{ criteria = "HDMI-A-1"; status = "enable"; mode = "2560x1080"; position = "1920,0"; }
2022-10-31 17:01:43 +01:00
];
};
};
};
}