Compare commits

...

11 Commits

Author SHA1 Message Date
JaKooLit
dadfea04ba added nwg-displays 2025-02-23 20:01:35 +09:00
JaKooLit
c487bc20fb dang forgot to update debian .zshrc 2025-02-23 19:59:23 +09:00
JaKooLit
d7a51fd27f updated zsh installation 2025-02-23 19:52:29 +09:00
Ja.KooLit
2d0db8dd5f
Merge pull request #180 from JaKooLit/development
Development to Main
2025-02-23 14:33:39 +09:00
JaKooLit
8faff7a9a2 added Fantasque Sans Mono Nerd for Kitty 2025-02-23 12:37:16 +09:00
JaKooLit
4988fccf53 added Victor Mono Font for proper hyprlock font rendering for Dots v2.3.12 2025-02-23 11:46:07 +09:00
JaKooLit
c103b2d2ef changed url for installing oh-my-zsh to get wider coverage. Some countries are blocking github raw url's 2025-02-22 13:02:01 +09:00
JaKooLit
4af40ca413 replaced eog with loupe 2025-02-22 01:03:37 +09:00
Ja.KooLit
60dae034ee
Merge pull request #179 from JaKooLit/main
fix zsh theme issue
2025-02-21 15:47:32 +09:00
Ja.KooLit
8692d72565
Merge pull request #178 from JaKooLit/main
main to development
2025-02-20 23:35:12 +09:00
Ja.KooLit
0ec4c95c84
Merge pull request #176 from JaKooLit/main
main to development
2025-02-07 21:41:05 +09:00
6 changed files with 37 additions and 23 deletions

View File

@ -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 ## 18 Feb 2025
- Change default zsh theme to adnosterzak - Change default zsh theme to adnosterzak

View File

@ -3,7 +3,7 @@
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="xiong-chiamiov-plus" ZSH_THEME="agnosterzak""
plugins=( plugins=(
git git

View File

@ -20,7 +20,6 @@ hypr_package=(
imagemagick imagemagick
kitty kitty
nano nano
nwg-look
pavucontrol pavucontrol
playerctl playerctl
polkit-kde-agent-1 polkit-kde-agent-1
@ -34,6 +33,7 @@ hypr_package=(
slurp slurp
sway-notification-center sway-notification-center
swappy swappy
unzip # required later
waybar waybar
wget wget
wl-clipboard wl-clipboard
@ -48,7 +48,9 @@ hypr_package_2=(
brightnessctl brightnessctl
btop btop
cava cava
eog loupe
nwg-look
nwg-displays
fastfetch fastfetch
gnome-system-monitor gnome-system-monitor
mousepad mousepad

View File

@ -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 # 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" 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 # Update font cache and log the output
fc-cache -v 2>&1 | tee -a "$LOG" fc-cache -v 2>&1 | tee -a "$LOG"

View File

@ -4,6 +4,7 @@
zsh=( zsh=(
eza eza
mercurial
zsh zsh
zplug zplug
) )
@ -39,20 +40,21 @@ printf "\n%.0s" {1..1}
# Install Oh My Zsh, plugins, and set zsh as default shell # Install Oh My Zsh, plugins, and set zsh as default shell
if command -v zsh >/dev/null; then if command -v zsh >/dev/null; then
printf "${NOTE} Installing ${SKY_BLUE}Oh My Zsh and plugins${RESET} ...\n" printf "${NOTE} Installing ${SKY_BLUE}Oh My Zsh and plugins${RESET} ...\n"
if [ ! -d "$HOME/.oh-my-zsh" ]; then if [ ! -d "$HOME/.oh-my-zsh" ]; then
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended || true sh -c "$(curl -fsSL https://install.ohmyz.sh)" "" --unattended
else 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 fi
# Check if the directories exist before cloning the repositories # Check if the directories exist before cloning the repositories
if [ ! -d "$HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions" ]; then 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 else
echo "${INFO} Directory zsh-autosuggestions already exists. Cloning Skipped." 2>&1 | tee -a "$LOG" echo "${INFO} Directory zsh-autosuggestions already exists. Cloning Skipped." 2>&1 | tee -a "$LOG"
fi fi
if [ ! -d "$HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" ]; then 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 else
echo "${INFO} Directory zsh-syntax-highlighting already exists. Cloning Skipped." 2>&1 | tee -a "$LOG" echo "${INFO} Directory zsh-syntax-highlighting already exists. Cloning Skipped." 2>&1 | tee -a "$LOG"
fi fi
@ -91,6 +93,5 @@ fi
if [ -d "$HOME/.oh-my-zsh/themes" ]; then if [ -d "$HOME/.oh-my-zsh/themes" ]; then
cp -r assets/add_zsh_theme/* ~/.oh-my-zsh/themes >> "$LOG" 2>&1 cp -r assets/add_zsh_theme/* ~/.oh-my-zsh/themes >> "$LOG" 2>&1
fi fi
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}

View File

@ -2,11 +2,6 @@
# 💫 https://github.com/JaKooLit 💫 # # 💫 https://github.com/JaKooLit 💫 #
# pokemon-color-scripts# # pokemon-color-scripts#
poke=(
mercurial
)
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
# Determine the directory where the script is located # Determine the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -20,13 +15,6 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
# Set the name of the log file to include the current date and time # Set the name of the log file to include the current date and time
LOG="Install-Logs/install-$(date +%d-%H%M%S)_zsh_pokemon.log" LOG="Install-Logs/install-$(date +%d-%H%M%S)_zsh_pokemon.log"
# for the new oh my zsh theme
printf "${NOTE} Installing ${SKY_BLUE}additional dependencies for oh my zsh theme${RESET}\n"
for pok in "${poke[@]}"; do
install_package "$pok" "$LOG"
done
printf "\n%.0s" {1..1}
printf "${INFO} Installing ${SKY_BLUE}Pokemon color scripts${RESET} ..." printf "${INFO} Installing ${SKY_BLUE}Pokemon color scripts${RESET} ..."
@ -44,6 +32,7 @@ if [ -f "$HOME/.zshrc" ]; then
else else
echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1 echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1
fi fi
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}