#!/usr/bin/env zsh icon="" if [[ $1 == "1" ]]; then echo "%{F#555856}${icon}%{F-}" exit fi pac=$(checkupdates 2>/dev/null | wc -l) aur=$(yay -Pn 2>/dev/null) [[ -f /tmp/polybar-updates ]] && last=$(/tmp/polybar-updates fi else echo "%{F#555856}${icon}%{F-}" fi