Compare commits

..

No commits in common. "e0ff97bb336e9a41d393dd7a49d14061fca72878" and "8faff7a9a2a362e6b8c3fb4bc03dda3d2da624d8" have entirely different histories.

5 changed files with 19 additions and 17 deletions

View File

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

View File

@ -20,6 +20,7 @@ hypr_package=(
imagemagick
kitty
nano
nwg-look
pavucontrol
playerctl
polkit-kde-agent-1
@ -49,8 +50,6 @@ hypr_package_2=(
btop
cava
loupe
nwg-look
nwg-displays
fastfetch
gnome-system-monitor
mousepad

View File

@ -74,20 +74,12 @@ if git clone --depth 1 "$source_theme" "$theme_name"; then
fi
done
else
# If the directory doesn't exist, create it and set up the new theme
echo "$CAT - $sddm_conf_dir not found, creating..." | tee -a "$LOG"
sudo mkdir -p "$sddm_conf_dir" 2>&1 | tee -a "$LOG"
fi
if [ ! -f "$sddm_conf_dir/theme.conf.user" ]; then
echo -e "[Theme]\nCurrent = $theme_name" | sudo tee "$sddm_conf_dir/theme.conf.user" > /dev/null
if [ -f "$sddm_conf_dir/theme.conf.user" ]; then
echo "Created and configured $sddm_conf_dir/theme.conf.user with theme $theme_name" | tee -a "$LOG"
else
echo "Failed to create $sddm_conf_dir/theme.conf.user" | tee -a "$LOG"
fi
else
echo "$sddm_conf_dir/theme.conf.user already exists, skipping creation." | tee -a "$LOG"
echo -e "[Theme]\nCurrent=$theme_name" | sudo tee "$sddm_conf_dir/theme.conf.user" 2>&1 | tee -a "$LOG"
echo "Created and configured $sddm_conf_dir/theme.conf.user with theme $theme_name" | tee -a "$LOG"
fi
# Replace current background from assets

View File

@ -4,7 +4,6 @@
zsh=(
eza
mercurial
zsh
zplug
)
@ -93,5 +92,6 @@ fi
if [ -d "$HOME/.oh-my-zsh/themes" ]; then
cp -r assets/add_zsh_theme/* ~/.oh-my-zsh/themes >> "$LOG" 2>&1
fi
printf "\n%.0s" {1..2}

View File

@ -2,6 +2,11 @@
# 💫 https://github.com/JaKooLit 💫 #
# pokemon-color-scripts#
poke=(
mercurial
)
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
# Determine the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -15,6 +20,13 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
# 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"
# 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} ..."
@ -32,7 +44,6 @@ if [ -f "$HOME/.zshrc" ]; then
else
echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1
fi
printf "\n%.0s" {1..2}