#!/bin/bash

# This is the script for Badges Begone - Remove Notification Badges from ANY app (With the right name or identifier)

# By RagingNinja - Caleb Mott

# v2.0.1



APP=$(sbalert -t "- Badges Begone -" -m "App Name For Badge Removal" -p -d "Next")




NUMBER=$(sbalert -t "How Many Would You Like?" -m "Setting Badges To 0 Will Remove All The Badges" -p -v "0" -d "Set Badges")


if badgenum $APP $NUMBER;
then sbalert -t "Success" -m "Set $APP badge number to $NUMBER";
else sbalert -t "Failure" -m "Failed to set $APP badge number to $NUMBER, this is most likely due to a spelling mistake of the app's name";
fi


