install: fix broken links

Also init scheme and shell
This commit is contained in:
2 * r + 2 * t 2025-06-18 17:43:40 +10:00
parent 4166288fd3
commit 5fcf5fe942

View file

@ -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!'