Module i3status_rs::blocks
source · Expand description
The collection of blocks
Blocks are defined as a TOML array of tables: [[block]]
Key | Description | Default |
---|---|---|
block | Name of the i3status-rs block you want to use. See modules below for valid block names. | - |
signal | Signal value that causes an update for this block with 0 corresponding to -SIGRTMIN+0 and the largest value being -SIGRTMAX | None |
if_command | Only display the block if the supplied command returns 0 on startup. | None |
merge_with_next | If true this will group the block with the next one, so rendering such as alternating_tint will apply to the whole group | false |
icons_format | Overrides global icons_format | None |
error_format | Overrides global error_format | None |
error_fullscreen_format | Overrides global error_fullscreen_format | None |
error_interval | How 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]]
:
Key | Description | Default |
---|---|---|
button | left , middle , right , up , down , forward , back or double_left . | - |
widget | To which part of the block this entry applies (accepts regex) | "block" |
cmd | Command to run when the mouse button event is detected. | None |
action | Which block action to trigger | None |
sync | Whether to wait for command to exit or not. | false |
update | Whether to update the block on click. | false |
Modules§
- Display the stats of your AMD GPU
- apt
Deprecated Pending updates available for your Debian/Ubuntu based system - The brightness of a backlight device
- Information about the internal power supply
- Monitor Bluetooth device
- Calendar
- CPU statistics
- The output of a custom shell command
- A block controlled by the DBus
- Disk usage statistics
- dnf
Deprecated Pending updates available for your Fedora system - Local docker daemon status
- External IP address and various information about it
- Currently focused window
- The number of GitHub notifications
- Manage display temperature
- KDEConnect indicator
- Keyboard layout indicator
- System load average
- Unread mail. Only supports maildir format.
- Memory and swap usage
- A custom menu
- The current song title and artist
- Network information
- Display and toggle the state of notifications daemon
- Count of notmuch messages
- Display the stats of your NVidia GPU
- Pending updates for different package manager like apt, pacman, etc.
- pacman
Deprecated Pending updates available on pacman or an AUR helper. - Privacy Monitor
- The number of pending notifications in rofication-daemon
- Scratchpad indicator
- Display the status of a service
- Volume level
- Ping, download, and upload speeds
- The number of tasks from the taskwarrior list
- Timer
- The system temperature
- The current time.
- A Toggle block
- System’s uptime
- Shows the current connection status for VPN networks
- Watson statistics
- Current weather
- X11 screen information
Structs§
- An error which originates from a block