Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.
/ swaystatus Public archive

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

License

Notifications You must be signed in to change notification settings

MaxVerevkin/swaystatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •