Skip to content
/ unixbar Public
forked from valpackett/unixbar

Rust library for creating output for UNIX-style desktop bars like i3bar/swaybar, dzen2, lemonbar

License

Notifications You must be signed in to change notification settings

dunrix/unixbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.io unlicense

unixbar

A better way to set up your lemonbar/dzen2/i3bar: with Rust and cargo-script instead of shell scripting or dynamic languages.

Screenshot

Included widgets:

  • date/time
  • systemstat CPU/RAM/etc. measurements
  • XKB current keyboard layout
  • music via D-Bus MPRIS (Rhythmbox, Clementine, Spotify, etc.) or MPD
  • volume via Linux ALSA or FreeBSD mixer
  • bspwm desktops

Features:

  • colors
  • alignment
  • separator control (i3bar)
  • click handlers (both shell and Rust code in i3bar, only shell in lemonbar and dzen2)
  • possible to disable systemstat, XKB (libxcb), D-Bus from the build via Cargo features

Usage

See examples/demo.rs.

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct.

The list of contributors is available on GitHub.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

About

Rust library for creating output for UNIX-style desktop bars like i3bar/swaybar, dzen2, lemonbar

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%