greenclip config in install script

This commit is contained in:
wt
2024-05-04 16:16:13 +07:00
parent 5ae5675839
commit 2076ed76cd
2 changed files with 11 additions and 1 deletions
+11 -1
View File
@@ -60,7 +60,7 @@ fi
# --------------- ~/.config/greenclip.toml ------------------
printf "$GREEN installing greenclip configuration...$RESET"
if [ ! -f ~/.config/greenclip.toml ]; then
ln -sv ~/dotfiles/greenclip.toml ~/.config/greenclip.toml &> /dev/null
ln -sv ~/dotfiles/greenclip/greenclip.toml ~/.config/greenclip.toml &> /dev/null
printf "[$GREEN ok $RESET]\n"
else
printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n"
@@ -96,3 +96,13 @@ else
printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n"
fi
# -------------------------------------------------------------
# -------------------- ~/.config/ranger ------------------------------
printf "$GREEN installing ranger configuration...$RESET"
if [ ! -d ~/.config/ranger ]; then
ln -sv ~/dotfiles/ranger ~/.config/ranger &> /dev/null
printf "[$GREEN ok $RESET]\n"
else
printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n"
fi
# -------------------------------------------------------------