|
plasma-show-stdout
A KDE Plasma 6 widget that displays stdout of shell scripts to the panel
|
Inert description of one module. More...
#include <plasma-show-stdout.hpp>
Public Types | |
| enum class | Kind { Timed , Signal } |
| How the module is triggered. | |
Public Attributes | |
| Kind | kind |
| Trigger kind. | |
| std::filesystem::path | script |
| Path to the script to run. | |
| std::chrono::duration< uint32_t > | interval {} |
| Polling interval (Timed modules only). | |
| int | signalNumber {0} |
| Realtime signal to listen on, e.g. SIGRTMIN+2 (Signal modules only). | |
| size_t | outputLimit {300} |
| Maximum number of output characters to retain. | |
Inert description of one module.
Plain configuration data describing a single script module: which script to run and how it is triggered. A TimedModule uses interval; a SignalModule uses signalNumber. This is the unit a future config panel will produce and serialize; ScriptOutput turns a list of these into live worker threads.