mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
feat: add quit on hyprland
This commit is contained in:
parent
f07ebcd309
commit
e9eb56126b
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ class Konawall(wx.adv.TaskBarIcon):
|
|||
self.visible = True
|
||||
self.external_icon = pystray.Icon("Konawall - {version}", icon=self.generate_icon_bitmap(), menu=pystray.Menu(
|
||||
pystray.MenuItem("Rotate", self.rotate_wallpapers),
|
||||
pystray.MenuItem("Toggle Rotation", self.toggle_timed_wallpaper_rotation, checked=lambda item: self.rotate)
|
||||
pystray.MenuItem("Toggle Rotation", self.toggle_timed_wallpaper_rotation, checked=lambda item: self.rotate),
|
||||
pystray.MenuItem("Quit", self.close_program_menu_item)
|
||||
))
|
||||
self.external_icon.run_detached(setup)
|
||||
self.hidden_frame.SetIcon(icon)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue