This commit is contained in:
Yarosλaβ . 2024-10-24 15:09:18 +05:30 committed by GitHub
commit 0342b16a69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ BBlue='\033[1;34m' BPurple='\033[1;35m' BCyan='\033[1;36m' BWhite='\033[1;37m'
## Directories ---------------------------- ## Directories ----------------------------
DIR=`pwd` DIR=`pwd`
FONT_DIR="$HOME/.local/share/fonts" FONT_DIR="$XDG_DATA_HOME/fonts" # or $XDG_CONFIG_HOME
ROFI_DIR="$HOME/.config/rofi" ROFI_DIR="$HOME/.config/rofi"
# Install Fonts # Install Fonts
@ -25,7 +25,7 @@ install_fonts() {
cp -rf $DIR/fonts/* "$FONT_DIR" cp -rf $DIR/fonts/* "$FONT_DIR"
fi fi
echo -e ${BYellow}"[*] Updating font cache...\n" ${Color_Off} echo -e ${BYellow}"[*] Updating font cache...\n" ${Color_Off}
fc-cache fc-cache -r
} }
# Install Themes # Install Themes