From 5fcf5fe942e634848394c4d230b8a680a2dda6dc Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 18 Jun 2025 17:43:40 +1000 Subject: [PATCH] install: fix broken links Also init scheme and shell --- install.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.fish b/install.fish index be8d186..9386edc 100755 --- a/install.fish +++ b/install.fish @@ -71,6 +71,7 @@ end # Variables set -q _flag_noconfirm && set noconfirm '--noconfirm' set -q XDG_CONFIG_HOME && set -l config $XDG_CONFIG_HOME || set -l config $HOME/.config +set -q XDG_STATE_HOME && set -l state $XDG_STATE_HOME || set -l state $HOME/.local/state # Startup prompt set_color magenta @@ -137,6 +138,9 @@ end log 'Installing metapackage...' yay -S --needed caelestia-meta $noconfirm +# Cd into dir +cd (dirname (status filename)) || exit 1 + # Install hypr* configs if confirm-overwrite $config/hypr log 'Installing hypr* configs...' @@ -272,4 +276,10 @@ if set -q _flag_zen log 'Please install the CaelestiaFox extension from https://addons.mozilla.org/en-US/firefox/addon/caelestiafox if you have not already done so.' end +# Generate scheme stuff if needed +test -f $state/caelestia/scheme.json || caelestia scheme set -n shadotheme + +# Start the shell +caelestia shell -d > /dev/null + log 'Done!'