i3status_rs

Module blocks

source
Expand description

The collection of blocks

Blocks are defined as a TOML array of tables: [[block]]

KeyDescriptionDefault
blockName of the i3status-rs block you want to use. See modules below for valid block names.-
signalSignal value that causes an update for this block with 0 corresponding to -SIGRTMIN+0 and the largest value being -SIGRTMAXNone
if_commandOnly display the block if the supplied command returns 0 on startup.None
merge_with_nextIf true this will group the block with the next one, so rendering such as alternating_tint will apply to the whole groupfalse
icons_formatOverrides global icons_formatNone
error_formatOverrides global error_formatNone
error_fullscreen_formatOverrides global error_fullscreen_formatNone
error_intervalHow long to wait until restarting the block after an error occurred.5
[block.theme_overrides]Same as the top-level config option, but for this block only. Refer to Themes and Icons below.None
[block.icons_overrides]Same as the top-level config option, but for this block only. Refer to Themes and Icons below.None
[[block.click]]Set or override click action for the block. See below for details.Block default / None

Per block click configuration [[block.click]]:

KeyDescriptionDefault
buttonleft, middle, right, up, down, forward, back or double_left.-
widgetTo which part of the block this entry applies (accepts regex)"block"
cmdCommand to run when the mouse button event is detected.None
actionWhich block action to triggerNone
syncWhether to wait for command to exit or not.false
updateWhether to update the block on click.false

Modules§

Structs§

Enums§

Type Aliases§