From 2076ed76cd2c988461be141cdaae56029f88cd2f Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Sat, 4 May 2024 16:16:13 +0700 Subject: [PATCH] greenclip config in install script --- greenclip.toml => greenclip/greenclip.toml | 0 install.sh | 12 +++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) rename greenclip.toml => greenclip/greenclip.toml (100%) diff --git a/greenclip.toml b/greenclip/greenclip.toml similarity index 100% rename from greenclip.toml rename to greenclip/greenclip.toml diff --git a/install.sh b/install.sh index e2905e7..d634d1d 100755 --- a/install.sh +++ b/install.sh @@ -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 +# -------------------------------------------------------------