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:
- title: date
shell: date
icon: clock
popupOnStart: true
# This will run a simple script that you create.

View File

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