feat: Add emojis to notification titles

This commit is contained in:
2025-08-08 21:15:33 +00:00
parent 2d5ec34d5a
commit dcfdd430c0
3 changed files with 6 additions and 6 deletions

View File

@@ -27,8 +27,8 @@ send_notification "$(
usage = $5;
gsub("%", "", usage);
if (usage > max) {
printf "<b>Warning:</b>\nDisk usage is at <code>%d%%</code>, which exceeds the threshold of <code>%d%%</code>.\n\n", usage, max;
printf "<b>⚠️ Warning ⚠️:</b>\nDisk usage is at <code>%d%%</code>, which exceeds the threshold of <code>%d%%</code>.\n\n", usage, max;
}
printf "<b>Disk Usage Information:</b>\nTotal: <code>%s</code>, Used: <code>%s</code>, Available: <code>%s</code>\n", $2, $3, $4;
printf "<b>💾 Disk Usage Information 💾 :</b>\nTotal: <code>%s</code>, Used: <code>%s</code>, Available: <code>%s</code>\n", $2, $3, $4;
}'
)"