forked from Shinonome/caelestia-cli
install: add spicetify
Also use spicetify as default music player for toggles
This commit is contained in:
@@ -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
@@ -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"
|
||||
},
|
||||
{
|
||||
|
||||
Executable
+21
@@ -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..]
|
||||
|
||||
Reference in New Issue
Block a user