a bit more cleanup :3

This commit is contained in:
jacekpoz 2024-07-15 20:16:34 +02:00
parent 4d858c947d
commit ae1fac999e
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -186,13 +186,15 @@ in {
mkdir = getExe' pkgs.coreutils-full "mkdir";
sleep = getExe' pkgs.coreutils-full "sleep";
wvkbd = getExe pkgs.wvkbd;
imagemagick = getExe pkgs.imagemagick;
in {
exec-once = [
"${iio-hyprland}"
"${getExe pkgs.wvkbd} --hidden -L 500"
"${wvkbd} --hidden -L 500"
"${mkdir} -p ${out_dir}"
"${getExe pkgs.imagemagick} ${nix_wallpaper} ${poz_layer} -layers flatten ${out_path}"
"${imagemagick} ${nix_wallpaper} ${poz_layer} -layers flatten ${out_path}"
];
exec = [
# wait a bit then set the wallpapers