19 lines
366 B
Nix
19 lines
366 B
Nix
|
|
{ wrappers, pkgs }:
|
||
|
|
let
|
||
|
|
kanshi = wrappers.wrapperModules.kanshi.apply {
|
||
|
|
inherit pkgs;
|
||
|
|
configFile.content = ''
|
||
|
|
profile {
|
||
|
|
output "eDP-1" enable
|
||
|
|
}
|
||
|
|
|
||
|
|
# laptop above external monitor
|
||
|
|
profile {
|
||
|
|
output "HDMI-A-1" enable position 0,0
|
||
|
|
output "eDP-1" enable position 0,1440
|
||
|
|
}
|
||
|
|
'';
|
||
|
|
};
|
||
|
|
in
|
||
|
|
kanshi.wrapper
|