1
0
Fork 0
dotfiles/files/.config/zsh/custom/200-motd.zsh

17 lines
399 B
Bash
Raw Normal View History

2018-03-10 04:04:29 +00:00
if [ "$IS_ROOT" = false ]; then
neofetch --config "$ZSH_CUSTOM/config/neofetch-splash.bash"
echo -e "\e[2A"
# Updates
#update_count="$(pacman -Qu | wc -l)"
#[[ $update_count -ne 1 ]] && s="s"
#[[ $update_count -ne 0 ]] && echo "$update_count package$s to update"
#unset s update_count
# Check tmux
if tmux info &>/dev/null; then
2018-03-14 13:33:11 +00:00
printf "\n%s\n\n" "$(tmux ls)"
2018-03-10 04:04:29 +00:00
fi
fi