feat: add gnome appindicator support

This commit is contained in:
Kat Inskip 2024-03-29 13:39:37 -07:00
parent e4d1a62790
commit 09b59d8230
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -61,7 +61,7 @@ class Konawall(wx.adv.TaskBarIcon):
# Set up the taskbar icon, menu, bindings, ... # Set up the taskbar icon, menu, bindings, ...
icon = self.generate_icon() icon = self.generate_icon()
self.SetIcon(icon, self.title_string) self.SetIcon(icon, self.title_string)
if self.environment == "hyprland": if self.environment == "hyprland" or self.environment == "gnome":
import pystray import pystray
def setup(self): def setup(self):
self.visible = True self.visible = True