diff --git a/CHANGELOGS.md b/CHANGELOGS.md index bb30aaf..60031b0 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,4 +1,12 @@ -## Changelogs +## CHANGELOGS + +## 23 Feb 2025 +- added Victor Mono Font for proper hyprlock font rendering for Dots v2.3.12 +- added Fantasque Sans Mono Nerd for Kitty + +## 22 Feb 2025 +- replaced eog with loupe +- changed url for installing oh-my-zsh to get wider coverage. Some countries are blocking github raw url's ## 18 Feb 2025 - Change default zsh theme to adnosterzak diff --git a/install-scripts/01-hypr-pkgs.sh b/install-scripts/01-hypr-pkgs.sh index 063119e..bf78b00 100755 --- a/install-scripts/01-hypr-pkgs.sh +++ b/install-scripts/01-hypr-pkgs.sh @@ -34,6 +34,7 @@ hypr_package=( slurp sway-notification-center swappy + unzip # required later waybar wget wl-clipboard @@ -48,7 +49,7 @@ hypr_package_2=( brightnessctl btop cava - eog + loupe fastfetch gnome-system-monitor mousepad diff --git a/install-scripts/fonts.sh b/install-scripts/fonts.sh index 514a3df..1b7ffd7 100755 --- a/install-scripts/fonts.sh +++ b/install-scripts/fonts.sh @@ -52,6 +52,20 @@ mkdir -p ~/.local/share/fonts/JetBrainsMonoNerd 2>&1 | tee -a "$LOG" # Extract the new files into the JetBrainsMono folder and log the output tar -xJkf JetBrainsMono.tar.xz -C ~/.local/share/fonts/JetBrainsMonoNerd 2>&1 | tee -a "$LOG" +# Fantasque Mono Nerd Font +if wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/FantasqueSansMono.zip; then + mkdir -p "$HOME/.local/share/fonts/FantasqueSansMonoNerd" && unzip -o -q "FantasqueSansMono.zip" -d "$HOME/.local/share/fonts/FantasqueSansMono" && echo "FantasqueSansMono installed successfully" | tee -a "$LOG" +else + echo -e "\n${ERROR} Failed to download ${YELLOW}Fantasque Sans Mono Nerd Font${RESET} Please check your connection\n" | tee -a "$LOG" +fi + +# Victor Mono-Font +if wget -q https://rubjo.github.io/victor-mono/VictorMonoAll.zip; then + mkdir -p "$HOME/.local/share/fonts/VictorMono" && unzip -o -q "VictorMonoAll.zip" -d "$HOME/.local/share/fonts/VictorMono" && echo "Victor Font installed successfully" | tee -a "$LOG" +else + echo -e "\n${ERROR} Failed to download ${YELLOW}Victor Mono Font${RESET} Please check your connection\n" | tee -a "$LOG" +fi + # Update font cache and log the output fc-cache -v 2>&1 | tee -a "$LOG" diff --git a/install-scripts/zsh.sh b/install-scripts/zsh.sh index 163b491..9427372 100755 --- a/install-scripts/zsh.sh +++ b/install-scripts/zsh.sh @@ -39,20 +39,21 @@ printf "\n%.0s" {1..1} # Install Oh My Zsh, plugins, and set zsh as default shell if command -v zsh >/dev/null; then printf "${NOTE} Installing ${SKY_BLUE}Oh My Zsh and plugins${RESET} ...\n" - if [ ! -d "$HOME/.oh-my-zsh" ]; then - sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended || true + if [ ! -d "$HOME/.oh-my-zsh" ]; then + sh -c "$(curl -fsSL https://install.ohmyz.sh)" "" --unattended else - echo "${INFO} Directory .oh-my-zsh already exists. Skipping re-installation." 2>&1 | tee -a "$LOG" + echo "${INFO} Directory .oh-my-zsh already exists. Skipping re-installation." 2>&1 | tee -a "$LOG" fi + # Check if the directories exist before cloning the repositories if [ ! -d "$HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions" ]; then - git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions || true + git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions else echo "${INFO} Directory zsh-autosuggestions already exists. Cloning Skipped." 2>&1 | tee -a "$LOG" fi if [ ! -d "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" ]; then - git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting || true + git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting else echo "${INFO} Directory zsh-syntax-highlighting already exists. Cloning Skipped." 2>&1 | tee -a "$LOG" fi