add spotify spicetify themeing
This commit is contained in:
@@ -131,6 +131,7 @@ packages:
|
||||
- slurp
|
||||
- socat
|
||||
- spotify
|
||||
- spicetify-cli
|
||||
- starship
|
||||
- telegram-desktop
|
||||
- thunderbird
|
||||
|
||||
@@ -1,19 +1,29 @@
|
||||
# Configuration for Neovim
|
||||
.config/nvim:
|
||||
type: git-repo
|
||||
url: git@zechert.net:fz-stack/nvim.git
|
||||
refreshPeriod: 24h
|
||||
refreshPeriod: 0
|
||||
|
||||
# Theme for Thunderbird
|
||||
.config/thunderbird-theme:
|
||||
type: git-repo
|
||||
url: https://github.com/catppuccin/thunderbird.git
|
||||
refreshPeriod: 168h
|
||||
|
||||
# Theme for btop
|
||||
.config/btop/themes/catppuccin_macchiato.theme:
|
||||
type: file
|
||||
url: https://raw.githubusercontent.com/catppuccin/btop/refs/heads/main/themes/catppuccin_macchiato.theme
|
||||
refreshPeriod: 168h
|
||||
|
||||
# Theme for DankMateiralShell
|
||||
.config/DankMaterialShell/catppuccin.json:
|
||||
type: file
|
||||
url: https://raw.githubusercontent.com/catppuccin/dankmaterialshell/refs/heads/main/catppuccin.json
|
||||
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
|
||||
Reference in New Issue
Block a user