Commit Graph
9 Commits
Author SHA1 Message Date
Alex 3f77c07875 fix(image): don't block the main loop with exec in the multiple-image path
MultipleImageStrategy::update() and handleClick() ran util::command::exec
(a blocking fork+exec+read) on the GTK main thread, so the whole bar froze
for the script's duration on every interval and on every click.

Move the exec into a new IStrategy::fetch() hook that the SleeperThread
worker runs before dp.emit(); update() now only parses the cached output
and draws on the main thread (mirroring how custom.cpp separates exec from
formatting). handleClick() uses forkExec() so clicks fire-and-forget instead
of blocking on the command's output. The entries and single-image paths are
unchanged.
2026-07-05 10:20:41 +02:00
Alex 90883da500 Merge remote-tracking branch 'origin/master' into pr-3151
# Conflicts:
#	include/modules/image.hpp
#	src/modules/image.cpp
2026-07-04 00:51:52 +02:00
aidansunbury 2b552f7fb6 compat 2025-08-16 15:34:43 -07:00
VPavliashvili c7f499e372 image module reworked and added multiple image rendering capability 2024-07-21 21:34:29 +04:00
Alan-Kuan 6a17139423 feat: tooltip for image module 2023-04-21 16:38:21 +08:00
Viktar Lukashonak 61a6c00c02 Happy clang 2023-03-02 16:57:32 +03:00
Brent George e128c48573 image module CSS fix 2023-01-24 14:34:02 -05:00
Alex 1938bb5d28 fix: lint 2023-01-04 16:26:50 +01:00
Jake Stanger a650c7d90c feat: image module
Module which renders an image onto the bar.
2022-01-16 23:55:13 +00:00