summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-05-29 20:06:33 +0200
committerlassulus <lassulus@lassul.us>2022-05-29 20:06:33 +0200
commit221c4b88d0d0044b946c840b6c1f7ca5f108fabd (patch)
tree6ea52c427befe99f70c4b1927afe3bfd7d40c7b7
parentd183d5e795fdf5e703978127f6a9148f678d6b47 (diff)
l themes: make sure /var/theme/config exist
-rw-r--r--lass/2configs/themes.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lass/2configs/themes.nix b/lass/2configs/themes.nix
index e020c62c4..eb1a53987 100644
--- a/lass/2configs/themes.nix
+++ b/lass/2configs/themes.nix
@@ -9,6 +9,7 @@
${placeholder "out"}/bin/switch-theme dark
fi
elif test -e "/etc/themes/$1"; then
+ ${pkgs.coreutils}/bin/mkdir -p /var/theme/config
${pkgs.rsync}/bin/rsync --chown=lass:users -a --delete "/etc/themes/$1/" /var/theme/config/
echo "$1" > /var/theme/current_theme
${pkgs.coreutils}/bin/chown lass:users /var/theme/current_theme