Skip to content

Commit 1bb6cf7

Browse files
authored
chore: Release - dev → rc (#1102)
This is an automated PR to promote changes from `dev` to `rc`. Please review and test before merging. See [TESTING.md](./TESTING.md) for complete testing instructions. According to our release policy, this PR is expected to be merged during: **Freeze Week (see release policy)** Testers are encouraged to test the changes before merging. Please note that this schedule may be adjusted based on the needs of the project. --- * chore Merge branch 'rc' into dev (9b0f6c5) by Khing * feat: spicetify support for flatpak spotify install (#1097) (ef07d12) by Khing * chore Merge branch 'dev' into support-flatpak-spotify (caeffd0) by Khing * fix: change main -> master for `Spotify_Sleek.tar.gz` (657d763) by Ilya Bogdanov * fix: remove redudant trailing slash (a71ef34) by Ilya Bogdanov * feat: add spicetify config `sidebar_config 0` (09dce79) by Ilya Bogdanov --- Please review the changes carefully before merging.
2 parents c813391 + 9b0f6c5 commit 1bb6cf7

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Configs/.config/hyde/wallbash/scripts/spotify.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ configure_spicetify() {
3131
-e "/^spotify_path/ s+=.*$+= $spotify_path+g" \
3232
-e "/^spotify_launch_flags/ s+=.*$+= $spotify_flags+g" "$spotify_conf"
3333

34-
curl -L -o "${cache_dir}/landing/Spotify_Sleek.tar.gz" "https://github.com/prasanthrangan/hyprdots/raw/main/Source/arcs/Spotify_Sleek.tar.gz"
35-
tar -xzf "${cache_dir}/landing/Spotify_Sleek.tar.gz" -C ~/.config/spicetify/Themes/
34+
spicetify_themes_dir="$HOME/.config/spicetify/Themes"
35+
if [ ! -d "${spicetify_themes_dir}/Sleek" ]; then
36+
curl -L -o "${cache_dir}/landing/Spotify_Sleek.tar.gz" "https://github.com/HyDE-Project/HyDE/raw/master/Source/arcs/Spotify_Sleek.tar.gz"
37+
tar -xzf "${cache_dir}/landing/Spotify_Sleek.tar.gz" -C "$spicetify_themes_dir"
38+
fi
3639
spicetify backup apply
3740
spicetify config current_theme Sleek
3841
spicetify config color_scheme Wallbash
42+
spicetify config sidebar_config 0
3943
spicetify restore backup
4044
spicetify backup apply
4145
}
@@ -59,9 +63,11 @@ EOF
5963
spotify_path="${shareDir}/spotify-launcher/install/usr/bin/spotify"
6064
elif [ -d /opt/spotify ]; then
6165
spotify_path='/opt/spotify'
62-
if [ ! -w "${spotify_path}" ] || [ ! -w "${spotify_path}/Apps" ]; then
63-
notify_and_set_permissions "${spotify_path}"
64-
fi
66+
elif [ -d /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify ]; then
67+
spotify_path='/var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify'
68+
fi
69+
if [ ! -w "${spotify_path}" ] || [ ! -w "${spotify_path}/Apps" ]; then
70+
notify_and_set_permissions "${spotify_path}"
6571
fi
6672

6773
if (pkg_installed spotify && pkg_installed spicetify-cli) || [ -n "$spotify_path" ]; then

Source/arcs/Spotify_Sleek.tar.gz

1.95 KB
Binary file not shown.

0 commit comments

Comments
 (0)