summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall/spicetify.fish21
1 files changed, 21 insertions, 0 deletions
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