nishimiya: Generalise kanshi multihead

This commit is contained in:
PapaTutuWawa 2021-11-07 13:58:22 +01:00
parent 9612cc89de
commit b575108e53
3 changed files with 10 additions and 5 deletions

View File

@ -85,6 +85,7 @@
position = "0,0";
}
];
name = "homeMultihead";
script = wallpaperScript;
};

View File

@ -62,13 +62,14 @@
position = "0,0";
}
];
name = "laptop";
script = wallpaperScript;
};
laptopHomeMultihead = mkProfile {
laptopMultihead = mkProfile {
outputs = [
{
criteria = horizontal;
criteria = "HDMI-A-1";
status = "enable";
mode = "1920x1080";
position = "-1920,0";
@ -81,10 +82,9 @@
}
];
name = "laptopHomeMultihead";
name = "laptopMultihead";
script = wallpaperScript;
};
# TODO: Generic multihead
};
};
swaync.enable = true;
@ -114,6 +114,10 @@
};
};
environment.systemPackages = with pkgs; [
ansible
];
programs = {
gnupg.agent.pinentryFlavor = "qt";
};

View File

@ -24,7 +24,7 @@
setbg "DP-2" $horiz
setbg "HDMI-A-3" $vert
;;
laptopHomeMultihead)
laptopMultihead)
horiz1=$(random_file ${wallpapersHorizontal})
horiz2=$(random_file ${wallpapersHorizontal})