✨ Monitor specific configs in hosts
This commit is contained in:
@ -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}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user