Skip to main content

Crate sigrun

Crate sigrun 

Source
Expand description

Sigrun — Run commands on D-Bus events.

Loads rules from ~/.config/sigrun/config.toml and reacts to D-Bus notifications, signals, and property changes by spawning configured commands.

Modules§

config
Configuration loading and validation for sigrun.
error
Error types for sigrun.
executor
Template expansion and command execution.
formatter
Plain-text formatting for live D-Bus event display.
matcher
Rule matching: tests whether a notification satisfies a filter.
monitor
D-Bus notification monitoring via BecomeMonitor.
notification
Shared notification types and D-Bus value conversion utilities.
property_watcher
D-Bus property change watching and value extraction.
signal_listener
D-Bus signal subscription and argument extraction.
watcher
Config file watching for automatic hot-reload.