#!/bin/sh icon= if ! updates=$(checkupdates 2> /dev/null | wc -l ); then updates=0 fi echo $updates > ~/.cache/pacman_updates #echo "$ifg $icon $tfg$(cat ~/.cache/pacman_updates)" echo "^c#a48ead^$icon ^d^ $(cat ~/.cache/pacman_updates)"