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

+8 -1
View File
@@ -198,7 +198,14 @@ def read_json_file(file_path: str) -> dict | None:
def trigger_paste_shortcut(delay_ms: int = 50) -> bool:
time.sleep(delay_ms / 1000)
result = run_command(["wtype", "-M", "ctrl", "v", "-m", "ctrl"], timeout=1)
result = run_command(
[
"hyprctl",
"dispatch",
'hl.dsp.send_shortcut({ mods = "CTRL", key = "V" })',
],
timeout=1,
)
return result.returncode == 0