GithubHelp home page GithubHelp logo

ykankaya / unixbar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from valpackett/unixbar

0.0 1.0 0.0 49 KB

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

License: The Unlicense

Rust 100.00%

unixbar's Introduction

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.

unixbar's People

Contributors

valpackett avatar ploppz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.