Status command for i3bar/swaybar written in async rust. Based on i3status-rust.
Refer to https://github.com/MaxVerevkin/swaystatus/issues/4 for i3status-rust
compatibility.
While it lacks many configuration options, music block allows switching between different players with mouse wheel.
Each block supports multiple click
options to handle blocks' clicks.
Example:
[[block]]
block = "time"
[[block.click]]
button = "left" # Which button to handle
cmd = "kitty" # The shell command to run
sync = false # Whether to wait for command to finish before proceeding (default is false)
update = true # Whether to update the block after click (default is true)
There is also an experimental support for double clicks:
[[block]]
block = "time"
[[block.click]]
button = "double_left"
cmd = "alacritty"
It is possible to specify theme's colors in HSV color space instead of RGB. The format is "hsv:<hue>:<saturation>:<value>[:<alpha>]"
, where hue is in range 0..360
, saturation value and alpha are in range 0..=100
.
[theme]
name = "modern"
[theme.overrides]
idle_bg = "hsv:190:60:30"