From c3ff5ef5e4e0b45b670614b09eb7e6bccae800ac Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 16 Feb 2025 17:38:51 -0800 Subject: [PATCH] feat: move kde to pysystray for plasma 6 --- konawall/gui.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/konawall/gui.py b/konawall/gui.py index 385545e..0cb579a 100755 --- a/konawall/gui.py +++ b/konawall/gui.py @@ -61,7 +61,7 @@ class Konawall(wx.adv.TaskBarIcon): # Set up the taskbar icon, menu, bindings, ... icon = self.generate_icon() self.SetIcon(icon, self.title_string) - if self.environment == "hyprland" or self.environment == "gnome": + if self.environment in ["hyprland", "gnome", "kde"]: import pystray def setup(self): self.visible = True diff --git a/pyproject.toml b/pyproject.toml index a8c373f..741431f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ pillow = "^10.0.1" screeninfo = "^0.8.1" requests = "^2.31.0" termcolor = "^2.3.0" -wxpython = "^4.2.1" +wxpython = "^4.2.2" humanfriendly = "^10.0" xdg-base-dirs = "^6.0.1"