Monitor specific configs in hosts

This commit is contained in:
2025-04-15 17:48:57 +02:00
parent 980334b44b
commit 4a884f5e6e
12 changed files with 63 additions and 65 deletions

View File

@ -1,7 +1,6 @@
# Wallpapers
{
pkgs,
common,
theme,
...
}:
@ -13,8 +12,7 @@
enable = true;
settings =
let
monitor1 = builtins.toString theme.wallpaper.monitor1;
monitor2 = builtins.toString theme.wallpaper.monitor2;
defaultWallpaper = builtins.toString theme.wallpaper.default;
in
{
ipc = "on";
@ -22,13 +20,11 @@
splash_offset = 2.0;
preload = [
monitor1
monitor2
defaultWallpaper
];
wallpaper = [
"${common.monitor1},${monitor1}"
"${common.monitor2},${monitor2}"
",${defaultWallpaper}"
];
};
};