Skip to content

Commit

Permalink
-2 LoC
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerg-L committed Feb 29, 2024
1 parent 89d01a3 commit 6763871
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/spicetify.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ spotify.overrideAttrs (
# replace the spotify path with the current derivation's path
sed "s|__REPLACEME__|${spotifyPath}|g; s|__REPLACEME2__|$SPICETIFY_CONFIG/prefs|g" ${config-xpui} > config-xpui.ini
mkdir -p Themes
mkdir -p {Themes,Extensions,CustomApps}
cp -r ${themePath} Themes/${theme.name}
chmod -R a+wr Themes
${
Expand All @@ -81,11 +82,9 @@ spotify.overrideAttrs (
${lib.optionalString (theme ? extraCommands && theme.extraCommands != null) theme.extraCommands}
# copy extensions into Extensions folder
mkdir -p Extensions
${extensionCommands}
# copy custom apps into CustomApps folder
mkdir -p CustomApps
${customAppCommands}
# completed app and extension installation
Expand Down

0 comments on commit 6763871

Please sign in to comment.