install: fish module

Contains fish config + greeting, starship config and fastfetch config
This commit is contained in:
2 * r + 2 * t
2025-02-22 22:58:43 +11:00
parent a23d2a4b8a
commit 9c1000a5e9
4 changed files with 34 additions and 4 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/bin/fish
. (dirname (status filename))/util.fish
install-deps git starship fastfetch
set -l dist $C_DATA/fish
# Update/Clone repo
update-repo fish $dist
# Install fish config
confirm-overwrite $CONFIG/fish/config.fish
ln -s $dist/config.fish $CONFIG/fish/config.fish
# Install fish greeting
confirm-overwrite $CONFIG/fish/functions/fish_greeting.fish
mkdir -p $CONFIG/fish/functions
ln -s $dist/fish_greeting.fish $CONFIG/fish/functions/fish_greeting.fish
# Install starship config
confirm-overwrite $CONFIG/starship.toml
ln -s $dist/starship.toml $CONFIG/starship.toml
# Install fastfetch config
confirm-overwrite $CONFIG/fastfetch/config.jsonc
ln -s $dist/fastfetch.jsonc $CONFIG/fastfetch/config.jsonc
log 'Done.'
+1 -1
View File
@@ -26,7 +26,7 @@ end
# Install uwsm envs
confirm-overwrite $uwsm
mv $hypr/uwsm $uwsm
ln -s $hypr/uwsm $uwsm
# Enable ydotool if installed
pacman -Q ydotool &> /dev/null && systemctl --user enable --now ydotool.service