Git Product home page Git Product logo

status1234's Introduction

status1234

An extensible status bar implementation written in C for window managers like i3wm or dwm.

Example status:

+-------------------------------------------------------------------------------------+
| CPU 2%  RAM 1803/11722MiB(15%) |    5     100  | 03:03 28.05.2022 | dwm-6.3 |
+-------------------------------------------------------------------------------------+

Each block can decide on it's own, when it wants to update itsself. That enables a block to react immediately to certain events (e.g. changes in audio volume) as opposed to polling periodically (e.g. every second) which may lead to undesirable lag.

If a block updated itsself it can then force the statusbar to update. So the statusbar only redraws if and only if there is an actual update to a block.

Combined, this reduces redundant checks and redraws of the statusbar.

For an example of a block that updates ...

  • ... asynchronously, see the audio block implementation.
  • ... periodically, see the battery block implementation.

Dependencies

  • pthread
  • X11 for displaying the status
  • alsa for audio and microphone
  • Font Awesome 6 for icons

Installation

Install with

sudo make install

or

make && sudo make install

Run with

status1234

To run it with startx, add

status1234 &

to your .xinitrc file.

Uninstall with

sudo make uninstall

status1234's People

Contributors

davidgru 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.