feat(config): switch configuration parsing to TOML and add google_lens support

This commit is contained in:
sankalp committed 2026-07-04 06:29:38 +05:45
1 parent bca67e255d
commit 89eb8db97b
5 files changed
+266 -80

No files matched your search

+4 -3
View File
@@ -11,7 +11,7 @@ class DismissLayer(Window):
self.event_box = EventBox()
super().__init__(
anchor="left right top bottom",
layer="top",
layer="overlay",
exclusivity="none",
keyboard_mode="none",
child=self.event_box,
@@ -70,10 +70,8 @@ class AppletWindow(PopupWindow):
self.dismiss_layer.show()
self.set_visible(True)
self.set_focus(None)
def close_applet(self):
if not self._is_open:
return
@@ -88,6 +86,9 @@ class AppletWindow(PopupWindow):
self.set_visible(False)
if hasattr(self, "_parent") and self._parent:
self._parent.set_visible(True)
if AppletWindow._active_popup == self:
AppletWindow._active_popup = None