nishimiya: Configure multihead
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
};
|
||||
services = {
|
||||
kanshi = let
|
||||
horizontal = "Samsung Electric Company C27F398 H4ZR101145";
|
||||
|
||||
helpers = import ../lib/helpers/kanshi.nix;
|
||||
mkProfile = helpers.mkProfile;
|
||||
wallpaperScript = helpers.mkWallpaperScript {
|
||||
@@ -50,7 +52,7 @@
|
||||
in {
|
||||
enable = true;
|
||||
profiles = {
|
||||
home = mkProfile {
|
||||
laptop = mkProfile {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
@@ -59,9 +61,29 @@
|
||||
position = "0,0";
|
||||
}
|
||||
];
|
||||
name = "home";
|
||||
name = "laptop";
|
||||
script = wallpaperScript;
|
||||
};
|
||||
laptopHomeMultihead = mkProfile {
|
||||
outputs = [
|
||||
{
|
||||
criteria = horizontal;
|
||||
status = "enable";
|
||||
mode = "1920x1080";
|
||||
position = "-1080,0";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "enable";
|
||||
mode = "1920x1080";
|
||||
position = "0,0";
|
||||
}
|
||||
];
|
||||
|
||||
name = "laptopHomeMultihead";
|
||||
script = wallpaperScript;
|
||||
};
|
||||
# TODO: Generic multihead
|
||||
};
|
||||
};
|
||||
swaync.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user