-
-
Notifications
You must be signed in to change notification settings - Fork 110
Description
I usually get distracted during my work when the yellow warning sign (
It wouldn't be such a big problem if one gets errors just for plugins in development, but that's not the case. If a plug-in relies on internet connection, errors will happen whenever there is a lack of connectivity. Because of this I get myself catching exceptions just for avoiding the yellow icon. For example:
try:
conn = http.client.HTTPSConnection(host)
conn.request(method, url, headers=headers)
res = conn.getresponse()
except (gaierror, http.client.RemoteDisconnected, ConnectionResetError) as err:
logging.error(err, exc_info=True)
print("No Connectivity")
time.sleep(900)
sys.exit()I think the icon should be less obtrusive and aimed to warn the user only when they are looking at the menu bar plugin and not when they are doing something else. So I suggest replacing the yellow warning icon with some b&w version from SF Symbols, which are much more SwiftBar friendly:
I see two options. This is a warning symbol:
And this is a truly error symbol:
Personally, I find the second one more appropriate as we're talking about errors and not just warnings, but both are good for me.

