add spotify spicetify themeing

This commit is contained in:
Frank Zechert
2026-08-02 21:44:40 +02:00
parent 7a6ee36672
commit 977ac07358
4 changed files with 37 additions and 1 deletions
+1
View File
@@ -131,6 +131,7 @@ packages:
- slurp - slurp
- socat - socat
- spotify - spotify
- spicetify-cli
- starship - starship
- telegram-desktop - telegram-desktop
- thunderbird - thunderbird
+11 -1
View File
@@ -1,19 +1,29 @@
# Configuration for Neovim
.config/nvim: .config/nvim:
type: git-repo type: git-repo
url: git@zechert.net:fz-stack/nvim.git url: git@zechert.net:fz-stack/nvim.git
refreshPeriod: 24h refreshPeriod: 0
# Theme for Thunderbird
.config/thunderbird-theme: .config/thunderbird-theme:
type: git-repo type: git-repo
url: https://github.com/catppuccin/thunderbird.git url: https://github.com/catppuccin/thunderbird.git
refreshPeriod: 168h refreshPeriod: 168h
# Theme for btop
.config/btop/themes/catppuccin_macchiato.theme: .config/btop/themes/catppuccin_macchiato.theme:
type: file type: file
url: https://raw.githubusercontent.com/catppuccin/btop/refs/heads/main/themes/catppuccin_macchiato.theme url: https://raw.githubusercontent.com/catppuccin/btop/refs/heads/main/themes/catppuccin_macchiato.theme
refreshPeriod: 168h refreshPeriod: 168h
# Theme for DankMateiralShell
.config/DankMaterialShell/catppuccin.json: .config/DankMaterialShell/catppuccin.json:
type: file type: file
url: https://raw.githubusercontent.com/catppuccin/dankmaterialshell/refs/heads/main/catppuccin.json url: https://raw.githubusercontent.com/catppuccin/dankmaterialshell/refs/heads/main/catppuccin.json
refreshPeriod: 168h refreshPeriod: 168h
# Theme for Spotify / spicetify-cli
.config/spicetify-catppuccin-theme:
type: git-repo
url: https://github.com/catppuccin/spicetify.git
refreshPeriod: 168h
@@ -0,0 +1,25 @@
#!/usr/bin/bash
# Install software packages required on the system when the spotify package or theme changes
# spotify hash: {{ include "/opt/spotify/spotify" | sha256sum }}
# catppuccin hash: {{ include "~/.config/spicetify-catppuccin-theme/catppuccin/app.scss" | sha256sum }}
mkdir -p ~/.config/spicetify/Themes
cp -r ~/.config/spicetify-catppuccin-theme/catppuccin ~/.config/spicetify/Themes/
getent group spotify > /dev/null || {
echo "System group spotify is missing"
echo "Please create it with groupadd -r spotify"
echo "Then re-login and try again"
exit 1
}
sudo chgrp spotify /opt/spotify
sudo chgrp -R spotify /opt/spotify/Apps
sudo chmod 775 /opt/spotify
sudo chmod 775 -R /opt/spotify/Apps
spicetify backup
spicetify config current_theme catppuccin
spicetify config color_scheme mocha
spicetify config inject_css 1 inject_theme_js 1 replace_colors 1 overwrite_assets 1
spicetify apply