diff options
author | lassulus <lassulus@lassul.us> | 2022-05-29 20:06:33 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-05-29 20:06:33 +0200 |
commit | 221c4b88d0d0044b946c840b6c1f7ca5f108fabd (patch) | |
tree | 6ea52c427befe99f70c4b1927afe3bfd7d40c7b7 /lass/2configs/themes.nix | |
parent | d183d5e795fdf5e703978127f6a9148f678d6b47 (diff) |
l themes: make sure /var/theme/config exist
Diffstat (limited to 'lass/2configs/themes.nix')
-rw-r--r-- | lass/2configs/themes.nix | 1 |
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 |