sankalp
515c04d33c
refactor(spotlight): spawn caffeine detached
2026-08-02 13:37:10 +05:45
sankalp
4f2c3eb88c
refactor(spotlight): use shared app cache
2026-08-02 13:37:10 +05:45
sankalp
1d7a94f154
chore(clipboard): remove noisy INFO logs from _load_history
2026-07-30 22:52:02 +05:45
sankalp
f3bfb4ec12
chore(spotlight): add debug logging to clipboard plugin
...
Log query, history state, cliphist output stats, and filter results
to aid debugging prefix search issues.
2026-07-28 21:14:04 +05:45
sankalp
36158ffbbb
fix(spotlight): return empty for unrelated caffeine queries
...
Add had_prefix flag so caffeine.search() returns [] for queries
without 'caffeine' or 'caff' prefix instead of always showing help.
Add debug logging.
2026-07-28 21:13:54 +05:45
sankalp
5e0337c0d6
fix(spotlight): monitor .desktop dirs for newly installed apps
...
Replace 1s TTL timer rescan with Gio.FileMonitor on XDG application
directories so spotlight picks up apps installed while running.
2026-07-19 12:03:27 +05:45
sankalp
6e9cb8efc8
refactor(src/window/spotlight/plugins): improve emoji annotation download using curl for better error handling
2026-07-16 17:27:52 +05:45
sankalp
a47abda55a
fix: resolve wifi crashes, shell injections, race conditions, and add debug mode
...
- Remove transient NEED_AUTH/DISCONNECTED error paths from wifi connect
- Guard double-callback in connect_wifi_bssid/connect_wifi_with_password
- Shell-quote user paths in wallpaper, screenshot, screenrecorder services
- Fix OSD hide-timer use-after-free and applet_window stale source ID
- Fix brightness poll timer leak on read failure
- Fix spotlight search stale idle source removal
- Lock dbusmenu _cache mutation under _registry_lock
- Fix entry.revision written outside _registry_lock scope
- Add fabric-cli exec wrapper for lock screen (lock_screen.lock())
- Replace hyprlock with lock screen in power menu and dropdown
- Add debug mode toggle in settings (controls log verbosity)
- Add diagnostic logging to globalmenu click chain
2026-07-16 11:47:53 +05:45
sankalp
016d18090d
refactor(src/window/spotlight/plugins): increase timeout interval to 50ms for clipboard and emoji paste actions
2026-07-15 11:30:46 +05:45
sankalp
ebe1238b3d
feat(src/window/spotlight/plugins): implement is_active detection and notification handling for caffeine plugin
...
Add CaptureNotifier import and send notifications when caffeine is enabled or disabled. Introduce is_active() static method to check inhibition status via PID file and process cmdline. Replace previous _read_pid() usage with is_active(). Enhance _humanize to properly format "0s" and hour-only durations. Update activation logic to use the new method and trigger appropriate notifications.
2026-07-15 09:04:00 +05:45
sankalp
6f2d0bf444
chore: refactor imports and adopt new utils utilities
2026-07-14 18:45:52 +05:45
sankalp
0496100788
feat(spotlight): add Caffeine plugin to inhibit idle/sleep
...
Uses systemd-inhibit with a pinned sleep process and PID file so
the inhibition survives Spotlight dismiss. Supports on/off and
duration presets (5m/15m/30m/1h) plus free-form parsing.
2026-07-14 13:47:58 +05:45
sankalp
f72542a231
refactor: log swallowed exceptions across src/
...
Replace silent swallow-excepts (pass/return/continue) with
logger.warning recording the caught error, preserving behaviour.
2026-07-14 13:02:21 +05:45
sankalp
54ff85ffc9
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)
2026-07-13 22:20:19 +05:45
sankalp
3a81ab1212
feat(spotlight): add plugin system with core engine and examples
...
- Plugin API (plugin.py, context.py, result.py)
- Core engine (search.py, manager.py, registry.py, loader.py)
- Built-in plugins: app, calculator, clipboard, emoji, power_menu, query, wallpapers
- Spotlight docs and example plugins
- Spotlight CSS styling
2026-07-12 20:17:34 +05:45