feat: move kde to pysystray for plasma 6

This commit is contained in:
Kat Inskip 2025-02-16 17:38:51 -08:00
parent 936050d035
commit c3ff5ef5e4
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 2 additions and 2 deletions

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" or self.environment == "gnome": if self.environment in ["hyprland", "gnome", "kde"]:
import pystray import pystray
def setup(self): def setup(self):
self.visible = True self.visible = True

View file

@ -20,7 +20,7 @@ pillow = "^10.0.1"
screeninfo = "^0.8.1" screeninfo = "^0.8.1"
requests = "^2.31.0" requests = "^2.31.0"
termcolor = "^2.3.0" termcolor = "^2.3.0"
wxpython = "^4.2.1" wxpython = "^4.2.2"
humanfriendly = "^10.0" humanfriendly = "^10.0"
xdg-base-dirs = "^6.0.1" xdg-base-dirs = "^6.0.1"