https://github.com/subins2000/new-year-bash
Fancy way to say new year in bash
https://github.com/subins2000/new-year-bash
bash linux unix
Last synced: 11 months ago
JSON representation
Fancy way to say new year in bash
- Host: GitHub
- URL: https://github.com/subins2000/new-year-bash
- Owner: subins2000
- License: gpl-3.0
- Created: 2017-12-29T18:24:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T10:22:29.000Z (over 2 years ago)
- Last Synced: 2025-06-04T09:57:55.832Z (about 1 year ago)
- Topics: bash, linux, unix
- Language: Shell
- Size: 16.6 KB
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# New Year bash
A geeky way to send a new years greetings. Inspired by [ChristBASHTree](https://github.com/sergiolepore/ChristBASHTree)
Read [my blog post](https://subinsb.com/bash-animated-christmas-tree/#make-a-gif) to know how to make a gif/mp4 out of this
Quick way to run :
```
curl https://raw.githubusercontent.com/subins2000/new-year-bash/master/happy-new-year.sh | bash
```
## Requirements
Script requires `toilet` and a bash shell :
```bash
sudo apt install toilet
```
## Config
Some config vars are available at the beginning.
| Variable | Description
| -------- | -----------
| name | The name to be displayed at the end
| correction | To correctly align the year text into the centre. Can be +ve or -ve value
The year is displayed with toilet and I wasn't able to find a way to correctly align it to the centre :/