From a0426f4b4576c55d87547f7d381b339a44d36bc4 Mon Sep 17 00:00:00 2001 From: G2 <72430668+G2-Games@users.noreply.github.com> Date: Sat, 3 Sep 2022 18:34:59 -0500 Subject: [PATCH 1/3] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0e036fd..aed0476 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,16 @@ My goal with this script is to keep it simple, just a single line that gives use ``` 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` From c38b50173e5ab82b6d93c4e9d1483c6c3374071c Mon Sep 17 00:00:00 2001 From: G2 <72430668+G2-Games@users.noreply.github.com> Date: Sat, 3 Sep 2022 18:59:02 -0500 Subject: [PATCH 2/3] Update README.md --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index aed0476..2b3ae74 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ # welcome.sh ![image](https://user-images.githubusercontent.com/72430668/188241809-fd94292e-23a4-4bba-bb76-82b863bbdddb.png) -### A nice welcome script for Bash -This is a nice little script for your `.bashrc` that greets you on every launch, with some helpful (and customizable!) information. +### 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 the terminal. +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 - Works across many distros (update checking support) - Clean and simple -- Written entirely in Bash
### Installing: @@ -28,12 +27,12 @@ bash -c "$(wget -q https://raw.githubusercontent.com/G2-Games/welcome.sh/main/in 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` +It installs to `~/.welcome/welcome.sh`, and adds a line to the bottom of `~/.bashrc` or `~/.zshrc` -Run again to uninstall. +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` +To use it, download `welcome.sh` and place it in your home directory. Then add `/home/$USER/welcome.sh` to your `.bashrc`. ### Updating: WIP From 934ed7b0c2230a666c7dfdb834710bfca99a1434 Mon Sep 17 00:00:00 2001 From: G2 <72430668+G2-Games@users.noreply.github.com> Date: Sat, 3 Sep 2022 19:02:20 -0500 Subject: [PATCH 3/3] Updated the config section --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b3ae74..862da42 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,22 @@ Currently you can update by uninstalling and reinstalling, but this wipes all se ### 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: -![github2](https://user-images.githubusercontent.com/72430668/188288031-78727633-79da-42c4-8f1e-1fdafb9fe1a2.png) +```bash +#=========SETUP========# +# Select which parts you want active by commenting them out +# For example, on a desktop, disabling the battery message is a good idea +# You can also re order them to change how they display! +flatpakupd="off" # Check for flatpak updates, this slows startup down A LOT +rechargenotif="off" # Notify that you should recharge if below 15% + +welcome +greeting +clock +battery +updates #< This makes startup slower +echo # Properly line break at the end +``` 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.