Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niksingh710/center-align
This is a bash written script to align stdoutput to terminal center
https://github.com/niksingh710/center-align
Last synced: 19 days ago
JSON representation
This is a bash written script to align stdoutput to terminal center
- Host: GitHub
- URL: https://github.com/niksingh710/center-align
- Owner: niksingh710
- License: wtfpl
- Created: 2023-04-16T08:35:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-04T12:23:16.000Z (5 months ago)
- Last Synced: 2024-10-11T23:34:25.008Z (about 1 month ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 19
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
center-align
Simple bash scrip to align stdout in center of the terminal
[![License](https://img.shields.io/github/license/niksingh710/center-align?color=blue)](LICENSE)
[![GitHub repo size](https://img.shields.io/github/repo-size/niksingh710/center-align)](https://github.com/niksingh710/center-align)
[![GitHub last commit](https://img.shields.io/github/last-commit/niksingh710/center-align)](https://github.com/niksingh710/center-align/commits/master)
[![GitHub issues](https://img.shields.io/github/issues/niksingh710/center-align)](https://github.com/niksingh710/center-align/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/niksingh710/center-align)](https://github.com/niksingh710/center-align/pulls)[![GitHub stars](https://img.shields.io/github/stars/niksingh710/center-align?style=social)](https://github.com/niksingh710/center-align/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/niksingh710/center-align?style=social)](https://github.com/niksingh710/center-align/network/members)```bash
This command will take input from pipe (stdout) and will center that data in terminalflags:
-h, --help: show this help
-a, --all: will center every line individually (Horizontal center)usage:
command | center-align
command | center-align -a
```## Installation
```
sudo make install
```### AUR
```
yay -S center-align
```[AUR](https://aur.archlinux.org/packages/center-align)
## Uninstall
```
sudo make uninstall
```### AUR
```
yay -Rns center-align
```# Check
![image](https://user-images.githubusercontent.com/60490474/232287874-ddf82867-cec6-4c2f-96e2-367ca5f44658.png)
Fun Command to give a try:
```
watch -n1 -t "date +%A%n%x%n%X | figlet | center-align -a"
```![image](https://user-images.githubusercontent.com/60490474/232287938-a7e18d34-4f39-4f0c-bdde-0f30baa920eb.png)