Coder Social home page Coder Social logo

salman-abedin / uniblocks Goto Github PK

View Code? Open in Web Editor NEW
41.0 2.0 2.0 603 KB

Status bar agnostic module generator

License: GNU General Public License v2.0

Shell 86.49% Makefile 13.51%
shell-scripts shellscript shell-script yabar polybar lemonbar dwm

uniblocks's Introduction

Uniblocks: Status bar agnostic module generator

Uniblocks wraps all of your status bar modules into a single string that updates only the part that has changed.
This string can be used with any status bar application since Uniblocks itself handles all the updating.

Features

  • The modules can be updated without the status bar's interventions
  • Updating is possible both periodically and manually
  • Different modules can be updated at different intervals
  • Can be used with any status bar application
  • Tiny & fast ( hint: ~80 lines of POSIX shellscript with only sleep calls)

Dependencies

  • mkfifo, sleep

Installation

git clone https://github.com/salman-abedin/uniblocks.git && cd uniblocks && make && sudo make install

Usage

  • Modify ~/.config/uniblocksrc according to your particular status bar setup.

  • Script belows commands as necessary.

Command Effect
uniblocks --gen,-g Prints the status string according to the config
uniblocks --update,-u <TAG> Manually updates individual module (e.g. The volume module)

Update

cd uniblocks
git pull --no-rebase && sudo make install

Uninstallation

cd uniblocks
sudo make uninstall

Repos you might be interested in

Name Description
Alfred/panel The status bar modules
faint The launcher wrapper
bolt The launcher wrapper
tide Minimal Transmission CLI client
puri Minimal URL launcher
devour X11 window swallower
crystal The transparent setup
Magpie The dotfiles
Alfred The scripts

Contact

[email protected]

uniblocks's People

Contributors

salman-abedin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

uchihasr ludoplex

uniblocks's Issues

Uniblocks shows nothing

When I run in the terminal "uniblocks -g" shows nothing. I've checked the FIFO and everything was being printed there. There's something else I supposed to do? I'm running on Artix Linux, with spectrwm.

Uniblocks and spectrwm's built in bar

I really like the project, and really want to use it. I just can't get it working with spectrwm.

Spectrwm takes a baraction.sh script and shows it's output on the bar, it is not accepting uniblocks.

I trued capturing the output in another script and showing that, but it still didn't work

Hoping you could check it out.
Thanks in advance.

Generate only one module at a time

Hello

I see on the demostration gif you are generating only the vol module with uniblocks --gen vol

I am also to use the syntax uniblocks --gen <tag> but it is printing the who bar regardless of what tag I specify.

Best
Ronnie Nissan

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.