fastfetch :)
This commit is contained in:
parent
f7340b1397
commit
af7c33d567
2 changed files with 17 additions and 5 deletions
|
@ -24,7 +24,7 @@ alias get_rust='. $HOME/.cargo/env'
|
|||
alias s="title $HOST && cmatrix -rs && clear"
|
||||
|
||||
# COSMETICS
|
||||
if [ $_ZSH_PREF_NO_PFETCH != 1 ]; then pfetch; fi
|
||||
if [ $_ZSH_PREF_NO_PFETCH != 1 ]; then fastfetch; fi
|
||||
|
||||
else
|
||||
PS1="$(whoami)@$(cat /etc/hostname) $ "
|
||||
|
|
|
@ -1,11 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
$SUDO $PM $PM_INSTALL $PM_NOCONFIRM \
|
||||
zsh
|
||||
zsh \
|
||||
cmake # for fastfetch
|
||||
|
||||
# install pfetch
|
||||
[ -d /tmp/pfetch ] || $SUDO bash -c \
|
||||
"git clone https://github.com/dylanaraps/pfetch.git /tmp/pfetch && cd /tmp/pfetch && (chmod a+x ./pfetch && $SUDO mv ./pfetch /usr/local/bin/pfetch)"
|
||||
# install fastfetch
|
||||
[ -d /tmp/fastfetch ] || \
|
||||
git clone https://github.com/LinusDierheimer/fastfetch /tmp/fastfetch
|
||||
|
||||
if [ ! -f /tmp/fastfetch/build/fastfetch ]; then
|
||||
pushd /tmp/fastfetch
|
||||
mkdir -p build
|
||||
pushd build
|
||||
cmake ..
|
||||
cmake --build . --target fastfetch
|
||||
$SUDO mv fastfetch /usr/local/bin/fastfetch
|
||||
popd
|
||||
popd
|
||||
fi
|
||||
|
||||
# install omz
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended || echo "zsh not installed"
|
||||
|
|
Loading…
Reference in a new issue