diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index a0783b6..88b9099 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -33,7 +33,7 @@ export SUDO_EDITOR="nvim" export EDITOR="nvim" export TERMINAL="st" export READER="zathura" -export BROWSER="firefox-bin" +export BROWSER="firefox" export IRC_CLIENT="irssi" export MAIL_CLIENT="neomutt" export MUSIC_CLIENT="ncmpcpp" diff --git a/.local/bin/fetch b/.local/bin/fetch index 6440b85..1ebecf2 100755 --- a/.local/bin/fetch +++ b/.local/bin/fetch @@ -13,12 +13,12 @@ ## INFO # $USER is already defined -host="$(cat /etc/conf.d/hostname | awk -F'"' '{ printf $2 }')" +host="$(cat /etc/hostname)" cpu="$(grep "name" /proc/cpuinfo | uniq | sed -e 's/.*: //' -e 's/ .-Core.*//')" os="Gentoo" kernel="$(uname -sr)" uptime="$(uptime -p | sed 's/up //')" -packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)" +packages="$(dpkg-query -f '.\n' -W | wc -l)" shell="$($SHELL --version | sed -e 's/(.*)//')" wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | rev | cut -d ' ' -f 1 | rev)" @@ -62,20 +62,20 @@ if [ -x "$(command -v tput)" ]; then fi # you can change these -lc="${bold}${magenta}" # labels -nc="${bold}${magenta}" # user and hostname +lc="${bold}${red}" # labels +nc="${bold}${red}" # user and hostname ic="${reset}${white}" # info -a0="${reset}${magenta}" # first gentoo color +a0="${reset}${red}" # first logo color a1="${reset}${white}" # second logo color cat <