-
Notifications
You must be signed in to change notification settings - Fork 0
/
kanshi.nix
53 lines (53 loc) · 1.31 KB
/
kanshi.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{ config, pkgs, ... }: {
# systemd.user.services.kanshi.Service.ExecReload = "${pkgs.kanshi}/bin/kanshictl reload";
services.kanshi = {
enable = false;
systemdTarget = "hyprland-session.target";
profiles = {
undocked.exec = [ "${pkgs.hyprland}/bin/hyprctl dispatch dpms on" ];
undocked.outputs = [
{
criteria = "eDP-1";
mode = "2736x1824@60";
position = "0,0";
scale = 2.0;
status = "enable";
}
];
docked.outputs = [
{
criteria = "eDP-1";
mode = "2736x1824";
position = "0,900";
scale = 2.0;
status = "disable";
}
{
criteria = "Fujitsu Siemens Computers GmbH E22W-5 YV2C027320";
mode = "1680x1050";
position = "1440,0";
status = "enable";
}
{
criteria = "Ancor Communications Inc ASUS VW199 DCLMTF153087";
mode = "1440x900";
position = "0,0";
status = "enable";
}
];
fallback.outputs = [
{
criteria = "eDP-1";
mode = "2736x1824@60";
position = "0,0";
scale = 2.0;
status = "enable";
}
{
criteria = "*";
status = "enable";
}
];
};
};
}