Commit Graph

4 Commits

Author SHA1 Message Date
denis 4782bbadd0 Tray: wait for the notification area instead of giving up, and record the Xfce field test
Started at login by the autostart, Sourizz could run before the session's panel
published org.kde.StatusNotifierWatcher; ksni then failed once and the daemon
stayed without an icon until restarted (seen on Xfce 4.20). The tray is now
spawned with assume_sni_available(true), so it registers as soon as the watcher
appears. Checked by stopping xfce4-panel, starting the daemon, and restarting
the panel: the icon registered by itself.

The READMEs list Xfce 4.20 as tested (12 automatic checks, global hotkeys,
ring, trail, spotlight, keystrokes, clicks and sounds, annotation, settings
window, tray icon and menu).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 13:16:10 +01:00
denis 105b4be66e Make the annotation and click-preview hotkeys switch on what they need
Ctrl+Alt+Shift+A did nothing while the master switch was off, and
Ctrl+Alt+Shift+Y did nothing unless the master switch and the click
effects were both on, with no feedback. They now enable what is missing
(and persist it, like the other toggles) before acting. Document the Y
hotkey in both READMEs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 09:12:17 +01:00
denis 23f72eff3d Replace an already-open settings window instead of ignoring the request
When the settings window was open but buried under other windows, asking
for it again from the tray did nothing, so it could not be reached. Asking
the existing window to rise only makes the taskbar entry blink under KWin
(focus-stealing prevention), so the daemon now closes it and opens a fresh
one, which always appears on top. Settings are saved as they change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 09:12:17 +01:00
denis fee42ae92d Initial commit: Sourizz, a Linux cursor highlighter
Spotlight, ring, trails, click effects, keystroke display and on-screen
annotation for X11 and Wayland, written in Rust. One drawing engine
(engine.rs) shared by an X11 backend (override-redirect ARGB windows,
XInput2 raw events) and a Wayland backend (wlr-layer-shell, evdev input,
Hyprland/KWin pointer sources), plus a tray, a CLI socket and an egui
settings window.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 08:41:11 +01:00