fix: drop notification header icon, defer spotlight paste quit, use hyprctl send_shortcut

This commit is contained in:
sankalp committed 2026-08-01 19:23:56 +05:45
1 parent 4122b9a305
commit 55fc3fba21
3 files changed
+19 -41

No files matched your search

+4 -1
View File
@@ -128,7 +128,10 @@ def main(command: str = "", text: str = "", external: bool = False):
def _close_and_quit():
_orig_close()
app.quit()
# Plugins schedule the paste via GLib.timeout_add (emoji/clipboard),
# which only fires while the main loop runs. Quit a tick later so a
# deferred paste is not killed before it can inject the shortcut.
GLib.timeout_add(100, app.quit)
spotlight.close_spotlight = _close_and_quit