feature: clock and ashtonished emoji (#207)

This commit is contained in:
James Read 2023-12-28 23:48:27 +00:00 committed by GitHub
parent 3f72b7cc0d
commit 6b3e9e4676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View File

@ -12,6 +12,7 @@ logLevel: "INFO"
actions: actions:
- title: date - title: date
shell: date shell: date
icon: clock
popupOnStart: true popupOnStart: true
# This will run a simple script that you create. # This will run a simple script that you create.

View File

@ -1,13 +1,15 @@
package config package config
var emojis = map[string]string{ var emojis = map[string]string{
"": "😀", // default icon "": "😀", // default icon
"poop": "💩", "poop": "💩",
"smile": "😀", "smile": "😀",
"ping": "📡", "ping": "📡",
"backup": "💾", "backup": "💾",
"reboot": "⏻", "reboot": "⏻",
"restart": "⏻", "restart": "⏻",
"ashtonished": "😲",
"clock": "🕒",
} }
func lookupHTMLIcon(keyToLookup string) string { func lookupHTMLIcon(keyToLookup string) string {