From 221c4b88d0d0044b946c840b6c1f7ca5f108fabd Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 29 May 2022 20:06:33 +0200 Subject: l themes: make sure /var/theme/config exist --- lass/2configs/themes.nix | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3