mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 12:29:19 -08:00
feat: add gnome appindicator support
This commit is contained in:
parent
e4d1a62790
commit
09b59d8230
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue