A neat little bash script to make opening a terminal a little more exciting.
This script isn't anything terribly special. It's an overcomplicated series of if statements that do these simple tasks:
- Draws 5 colored bars
- Lists some basic info about your computer (IE: Your name, your computer model, the chassis type (which needs to be manually specified as of right now), and the RAM
- Lists the date and time
- Displays weather and moon info from wttr.in
- Displays fastfetch or any other commands you want to run
This script keeps a copy of the weather report in the config directory. The script checks to see if its been updated in the last 12 hours, and if it hasn't, it grabs a new copy. This way your weather report sort of stays cached for if you go offline for a bit.
Until I can get the packages distributed to package managers, you can download the package file and install it manually. At the time of writing, only a Debian/Ubuntu package (.deb) is published. You can install it with:
sudo apt install ./confetch_1.0-8_all.deb
If you'd like to use the shell script instead, try giving our bashscript
branch a view!
Once installed, you can run confetch
to start! On first run, you'll be greeted with a screen that tells you that confetch will use an API to grab your city name from your IP Geolocation. You are given the choice to consent to this, and if you do not consent, you can manually specify a city, or simply respond with null
to disable the weather.
To run the script every time you open a terminal, simply put confetch
at the bottom of your .bashrc
file. If that doesn't work, you can try specifying the full path: /usr/bin/confetch_bin/start.sh
For infomation on how to change the variables and make it your own, you can check out our GitHub Wiki through this link, or by clicking "Wiki" at the top of this page.
Make the script not attempt to replace the weather files if not connected to the internet(Fixed: Revision 5)Automatically grab the user's name from the system(Fixed: Revision 5)- Figure out how to display other commands side by side (Eg: Displaying
fastfetch
andfortune | cowsay
next to each other)- I tried using the same method I use for wtr and moon, but it came out terribly.
Re-download the files if the size = 0 (failed download)(Fixed: Revision 8)Automatically make sure curl is installed(Fixed: Revision 7)- Better macOS support
- Color bars don't work
- curl needs different syntax to work (Switch to this syntax for all distros?)
Automatically grab distro info(Fixed: Revision 8)- Update config file with update