mirror of
https://github.com/G2-Games/welcome.sh.git
synced 2025-04-19 13:32:53 -05:00
57 lines
2.2 KiB
Markdown
57 lines
2.2 KiB
Markdown
# welcome.sh
|
|

|
|
### A nice welcome script for Bash and Zsh
|
|
This is a nice little script for your `.bashrc` or `.zshrc` that greets you on every launch, with some helpful (and customizable!) information.
|
|
|
|
My goal with this script is to keep it simple, just a single line that gives useful information when you start a terminal session.
|
|
|
|
#### Features:
|
|
- Relatively fast
|
|
- <span title="Please let me know of other things to support!">Works across many distros (update checking support)</span>
|
|
- Clean and simple
|
|
<hr>
|
|
|
|
### Installing:
|
|
#### Via Curl
|
|
```
|
|
bash -c "$(curl -s https://raw.githubusercontent.com/G2-Games/welcome.sh/main/install.sh)"
|
|
```
|
|
```
|
|
zsh -c "$(curl -s https://raw.githubusercontent.com/G2-Games/welcome.sh/main/install.sh)"
|
|
```
|
|
#### Or wget
|
|
```
|
|
bash -c "$(wget -q https://raw.githubusercontent.com/G2-Games/welcome.sh/main/install.sh -O -)"
|
|
```
|
|
```
|
|
zsh -c "$(wget -q https://raw.githubusercontent.com/G2-Games/welcome.sh/main/install.sh -O -)"
|
|
```
|
|
|
|
It installs to `~/.welcome/welcome.sh`, and adds a line to the bottom of `~/.bashrc` or `~/.zshrc`
|
|
|
|
Run again to uninstall. Uninstalling will remove it from both Bash and Zsh.
|
|
|
|
#### Manual Installation
|
|
To use it, download `welcome.sh` and place it in your home directory. Then add `/home/$USER/welcome.sh` to your `.bashrc`.
|
|
|
|
### Updating:
|
|
WIP
|
|
|
|
Currently you can update by uninstalling and reinstalling, but this wipes all settings. I am working on making a better way to do this.
|
|
<hr>
|
|
|
|
### Configs:
|
|
To configure settings, open `welcome.sh` in your text editor of choice and go to the bottom. There, you'll find a few settings:
|
|
|
|

|
|
|
|
|
|
Here, you can re-arrange the modules, and turn off and on flatpak and recharge notifications. I recommend leaving flatpak off as it makes startup incredibly slow.
|
|
|
|
I'm planning on making this config section a separate file later to make changing settings easier and updating easier.
|
|
<hr>
|
|
|
|
### TODO:
|
|
- [x] Add easier way to install and update
|
|
- [ ] Fix issues across other distros
|
|
- [ ] Add new features?
|