Skip to content

This is a bash written script to align stdoutput to terminal center

License

Notifications You must be signed in to change notification settings

niksingh710/center-align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

center-align

Simple bash scrip to align stdout in center of the terminal

License


GitHub repo size GitHub last commit GitHub issues GitHub pull requests

GitHub stars GitHub forks

  This command will take input from pipe (stdout) and will center that data in terminal

flags:
    -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

Uninstall

sudo make uninstall

AUR

yay -Rns center-align

Check

image

Fun Command to give a try:

watch -n1 -t "date +%A%n%x%n%X | figlet  | center-align -a"

image

About

This is a bash written script to align stdoutput to terminal center

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published