cleanup
This commit is contained in:
@@ -124,10 +124,15 @@ in
|
||||
cfg.display2.input
|
||||
];
|
||||
in
|
||||
if cfg.hyprpaper.usePerMonitor then
|
||||
map (n: "${n}, ${cfg.hyprpaper.wallpaperPath}") names
|
||||
else
|
||||
[ ", ${cfg.hyprpaper.wallpaperPath}" ];
|
||||
# if cfg.hyprpaper.usePerMonitor then
|
||||
# map (n: "${n}, ${cfg.hyprpaper.wallpaperPath}") names
|
||||
# else
|
||||
[
|
||||
{
|
||||
monitor = "";
|
||||
path = cfg.hyprpaper.wallpaperPath;
|
||||
}
|
||||
];
|
||||
splash = false;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -155,7 +155,7 @@ in
|
||||
];
|
||||
script = ''
|
||||
${wallpaper-command}
|
||||
${lib.getExe' pkgs.hyprland "hyprctl"} hyprpaper reload ,${cfg.wallpaper}
|
||||
${lib.getExe' pkgs.hyprland "hyprctl"} hyprpaper wallpaper ,${cfg.wallpaper},
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
|
||||
Reference in New Issue
Block a user