Update //12SEP2023
I'm climing the steep learning curve of NixOS / Flakes / Home-Manager... this repo is now more of a scratch pad of scrips and code and whatnots. Long term plan: move this stuff to gists and Configulus repo will contain my NixOS configs and home dotfiles. I've also discovered the joy of tiling window managers. Gnome/Ubuntu love is now depreciated 😉
This is a collection of scripts that I use to setup Linux workstations. I prefer Gnome Hyprland, ZSH, Powerlevel10k, Alpine & Ubuntu NixOS Linux (I would daily drive Alpine Gnome i3wm if Alpine was glbic and not musl libc based), VSCode, and Chrome (not Chromium). I got tired of all the google searching for "how do I install that thing again?" and typing all those commands!
- 'main' contains Ubuntu specific scripts
- 'alpine' containes Alpine Linux scripts
- Phase one of this project is to get the scripts working and install the things I like.
- Phase two is to potentially auto-config my Gnome settings and extensions.
- Phase three is to pair down (auto-remove) all the bloaty stuff. Applications that I am not likely to ever use and normally ignore.
export GH_EMAIL=<your github email>
export GH_USERNAME=<your github username>
export SHELL=<path to zsh>
sudo apt update && sudo apt -qqq -y install git zsh bash nano neofetch wget curl
- (Alpine {root})
apk add git zsh bash nano neofetch wget curl shadow
- (Alpine {root})
apk add flatpak ; flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
NerdFonts:
sh -c "$(wget -q -O- https://bit.ly/NerdFonts)"
Etcher:
sh -c "$(wget -q -O- https://bit.ly/etcher-install)"
balena-cli:
sh -c "$(wget -q -O- https://bit.ly/balena-cli)"
-or-
sh -c "$(wget -q -O- https://bit.ly/balena-cli)" -s <version>
gh-cli:
curl https://shortenedurl | bash -s
Powerlevel10k:
sh -c "$(wget -q -O- https://bit.ly/powerlevel10k)"
Powerlevel10k Alpine:
sh -c "$(wget -q -O- https://bit.ly/p10k-alpine)"
Alpine KVM Install
sh -c "$(wget -q -O- https://bit.ly/alpine-kvm)"
NVM:
wget -qO- https://bit.ly/NVM-Install | bash
Nano Syntax:
curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
Neofetch ubuntu issue
$ git diff neofetch| cat -A
diff --git a/neofetch b/neofetch$
index 48b96d21..d42cc3ea 100755$
--- a/neofetch$
+++ b/neofetch$
@@ -3982,8 +3982,8 @@ get_cols() {$
printf -v block_spaces "%${block_height}s"$
$
# Convert the spaces into rows of blocks.$
- [[ "$blocks" ]] && cols+="${block_spaces// /${blocks}^[[mnl}"$
- [[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}^[[mnl}"$
+ [[ "$blocks" ]] && cols+="${block_spaces// /${blocks}^[\[mnl}"$
+ [[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}^[\[mnl}"$
$
# Add newlines to the string.$
cols=${cols%%nl}$