MaxVerevkin / swaystatus

Status command for i3bar/swaybar written in async rust. Based on i3status-rust.

Home Page:https://maxverevkin.github.io/swaystatus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swaystatus

Status command for i3bar/swaybar written in async rust. Based on i3status-rust.

Blocks documentation

Formatting documentation

Compatibility

Refer to #4 for i3status-rust compatibility.

Differences

Blocks

Music

While it lacks many configuration options, music block allows switching between different players with mouse wheel.

Enhanced clicks handling abilities

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"

Hsv color support

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"

About

Status command for i3bar/swaybar written in async rust. Based on i3status-rust.

https://maxverevkin.github.io/swaystatus

License:GNU General Public License v3.0


Languages

Language:Rust 99.9%Language:Shell 0.1%