#!/bin/sh icon=󰣠 freebsd-update updatesready > /dev/null [ $? -eq 2 ] || printf "%sUpdates are available" $icon && notify-send "Updates are ready to install"