fix(services/spotlight): improve MPRIS artwork handling and scope keyword searches to single plugin
- mpris: native MediaArt cache lookup, dedupe play/pause emission, safe cleanup, artwork polling for already-playing browser players, drop os.system seek fallback - spotlight: scope plugin keyword and detect() matches to a single plugin via search_single instead of global search; register clipboard keywords (clip/clipboard)
This commit is contained in:
43 files changed
+1227
-637
No files matched your search
@@ -612,13 +612,6 @@ class ApplicationSwitcher(Window):
|
||||
if addr in self._addr_to_idx:
|
||||
self._capture.capture_by_handle(addr, 300, 168, False)
|
||||
|
||||
def _refill_and_pump(self):
|
||||
# Called when the switcher becomes visible or windows change
|
||||
if not self.get_visible():
|
||||
return False
|
||||
self._pump_capture_queue()
|
||||
return False
|
||||
|
||||
def grab_keyboard(self):
|
||||
try:
|
||||
display = Gdk.Display.get_default()
|
||||
|
||||
Reference in new issue
Block a user