Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salman-abedin/uniblocks
Status bar agnostic module generator
https://github.com/salman-abedin/uniblocks
dwm lemonbar polybar shell-script shell-scripts shellscript yabar
Last synced: 28 days ago
JSON representation
Status bar agnostic module generator
- Host: GitHub
- URL: https://github.com/salman-abedin/uniblocks
- Owner: salman-abedin
- License: gpl-2.0
- Created: 2020-06-03T15:27:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T22:46:30.000Z (about 3 years ago)
- Last Synced: 2024-02-23T11:48:11.797Z (4 months ago)
- Topics: dwm, lemonbar, polybar, shell-script, shell-scripts, shellscript, yabar
- Language: Shell
- Homepage:
- Size: 589 KB
- Stars: 41
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - salman-abedin/uniblocks - Status bar agnostic module generator (Shell)
README
# 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.![](https://gitlab.com/salman-abedin/assets/-/raw/master/uniblocks.gif)
![](https://gitlab.com/salman-abedin/assets/-/raw/master/uniblocks_bar.png)
## 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
```sh
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 ` | Manually updates individual module (e.g. The volume module) |## Update
```sh
cd uniblocks
git pull --no-rebase && sudo make install
```## Uninstallation
```sh
cd uniblocks
sudo make uninstall
```---
## Repos you might be interested in
| Name | Description |
| ---------------------------------------------------------------------------- | ------------------------------- |
| [Alfred/panel](https://github.com/salman-abedin/alfred/blob/master/panel.sh) | The status bar modules |
| [faint](https://github.com/salman-abedin/faint) | The launcher wrapper |
| [bolt](https://github.com/salman-abedin/bolt) | The launcher wrapper |
| [tide](https://github.com/salman-abedin/puri) | Minimal Transmission CLI client |
| [puri](https://github.com/salman-abedin/puri) | Minimal URL launcher |
| [devour](https://github.com/salman-abedin/devour) | X11 window swallower |
| [crystal](https://github.com/salman-abedin/crystal) | The transparent setup |
| [Magpie](https://github.com/salman-abedin/magpie) | The dotfiles |
| [Alfred](https://github.com/salman-abedin/alfred) | The scripts |## Contact