install: add spicetify

Also use spicetify as default music player for toggles
This commit is contained in:
2 * r + 2 * t
2025-04-09 19:26:47 +10:00
parent 9cf691b376
commit 5bbead188a
4 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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"
},
{
+21
View File
@@ -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
+1 -1
View File
@@ -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..]