From 6b3e9e4676ace3d327294145edd326e0247471ee Mon Sep 17 00:00:00 2001 From: James Read Date: Thu, 28 Dec 2023 23:48:27 +0000 Subject: [PATCH] feature: clock and ashtonished emoji (#207) --- config.yaml | 1 + internal/config/emoji.go | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/config.yaml b/config.yaml index e4f319e..9cc10d3 100644 --- a/config.yaml +++ b/config.yaml @@ -12,6 +12,7 @@ logLevel: "INFO" actions: - title: date shell: date + icon: clock popupOnStart: true # This will run a simple script that you create. diff --git a/internal/config/emoji.go b/internal/config/emoji.go index cf6f166..2a7ef6d 100644 --- a/internal/config/emoji.go +++ b/internal/config/emoji.go @@ -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 {