Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 987 Bytes

Readme.md

File metadata and controls

52 lines (37 loc) · 987 Bytes

Center

This tool centers the text output on stdout to the center of the opened terminal.

  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

TODO

  • Flags to specific center Type (vertical or horizontal)