diff --git a/home/private_bin/executable_get-updates b/home/private_bin/executable_get-updates index 144b0a0..5e79fc1 100644 --- a/home/private_bin/executable_get-updates +++ b/home/private_bin/executable_get-updates @@ -12,20 +12,29 @@ HELP exit 0 } +header() { + echo "=============" +} + updates_output() { notify=$1 if ! [[ -z $updates_arch ]]; then + header echo "ARCH: $(echo "$updates_arch" | wc -l)" + header [[ -z $notify ]] && echo "$updates_arch" fi if ! [[ -z $updates_aur ]]; then + header echo "AUR: $(echo "$updates_aur" | wc -l)" + header [[ -z $notify ]] && echo "$updates_aur" fi echo } update_system() { + echo read -p "Would you like to update? (y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 pikaur -Syu --noedit --nodiff } @@ -48,6 +57,7 @@ for opt in "$@"; do done echo "fetching updates..." +echo updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}')" updates_aur="$(pikaur -Qua 2>/dev/null | awk '{print $1}')" diff --git a/home/private_dot_config/wezterm/wezterm.lua b/home/private_dot_config/wezterm/wezterm.lua index 6f1f58c..40e17d3 100644 --- a/home/private_dot_config/wezterm/wezterm.lua +++ b/home/private_dot_config/wezterm/wezterm.lua @@ -18,7 +18,7 @@ return { top = padding, bottom = padding, }, - font = wezterm.font("MonoLisa NF"), + font = wezterm.font("MonoLisa Nerd Font"), adjust_window_size_when_changing_font_size = false, colors = catppuccin, use_fancy_tab_bar = false,