diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-09 19:26:47 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-09 19:26:47 +1000 |
| commit | 5bbead188a155482eacc902f6562955e771c018f (patch) | |
| tree | 6113ba665e501b4bb845c62fc5a957b9486d1ef5 | |
| parent | wallpaper: no blurred wallpaper (diff) | |
| download | caelestia-cli-5bbead188a155482eacc902f6562955e771c018f.tar.gz caelestia-cli-5bbead188a155482eacc902f6562955e771c018f.tar.bz2 caelestia-cli-5bbead188a155482eacc902f6562955e771c018f.zip | |
install: add spicetify
Also use spicetify as default music player for toggles
| -rw-r--r-- | completions/caelestia.fish | 2 | ||||
| -rw-r--r-- | data/config.json | 2 | ||||
| -rwxr-xr-x | install/spicetify.fish | 21 | ||||
| -rwxr-xr-x | main.fish | 2 |
4 files changed, 24 insertions, 3 deletions
diff --git a/completions/caelestia.fish b/completions/caelestia.fish index 95e4a50..26c983c 100644 --- a/completions/caelestia.fish +++ b/completions/caelestia.fish @@ -22,7 +22,7 @@ complete -c caelestia -n $not_seen -a 'wallpaper' -d 'Change the wallpaper' complete -c caelestia -n $not_seen -a 'pip' -d 'Picture in picture utilities' # Install -set -l commands all btop discord firefox fish foot fuzzel hypr safeeyes scripts shell slurp gtk qt vscode +set -l commands all btop discord firefox fish foot fuzzel hypr safeeyes scripts shell slurp spicetify gtk qt vscode complete -c caelestia -n "$seen install && not $seen $commands" -a "$commands" # Shell diff --git a/data/config.json b/data/config.json index 1efe9e4..1d302b0 100644 --- a/data/config.json +++ b/data/config.json @@ -19,7 +19,7 @@ "apps": [ { "selector": ".class == \"Spotify\" or .initialTitle == \"Spotify\" or .initialTitle == \"Spotify Free\"", - "spawn": "spotify-adblock.desktop", + "spawn": "spicetify watch -s", "action": "spawn move" }, { diff --git a/install/spicetify.fish b/install/spicetify.fish new file mode 100755 index 0000000..fb5e6e0 --- /dev/null +++ b/install/spicetify.fish @@ -0,0 +1,21 @@ +#!/bin/fish + +. (dirname (status filename))/util.fish + +install-deps git spicetify-cli + +set -l dist $C_DATA/spicetify + +# Clone repo +update-repo spicetify $dist + +# Install systemd service +setup-systemd-monitor spicetify $dist + +# Install theme files +mkdir -p $CONFIG/spicetify/Themes/caelestia +cp $dist/color.ini $CONFIG/spicetify/Themes/caelestia/color.ini +cp $dist/user.css $CONFIG/spicetify/Themes/caelestia/user.css + +# Set spicetify theme +spicetify config current_theme caelestia color_scheme caelestia @@ -45,7 +45,7 @@ if test "$argv[1]" = scheme end if test "$argv[1]" = install - set -l valid_modules scripts btop discord firefox fish foot fuzzel hypr safeeyes shell slurp gtk qt vscode + set -l valid_modules scripts btop discord firefox fish foot fuzzel hypr safeeyes shell slurp spicetify gtk qt vscode if test "$argv[2]" = all for module in $valid_modules $src/install/$module.fish $argv[3..] |