#!/bin/sh if ! command -v yay >/dev/null 2>&1; then notify-send "awesomewm widget error" "the 'yay' package is required for the widget to work." else yay -Sy >/dev/null count=$(yay -Qu | wc -l) echo " 📤 $count" fi