Skip to content

Commit

Permalink
add fastfetch
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWolf-01 committed Jun 5, 2024
1 parent 5290a22 commit 44182aa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
20 changes: 13 additions & 7 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ apps() {
blueman \
gnome-shell-extensions-gpaste \
gparted \
pulseaudio-module-bluetooth \
zathura
pulseaudio-module-bluetooth
toolbox
}

Expand Down Expand Up @@ -55,7 +54,7 @@ cli() {
sudo chsh -s "$(which zsh)" "$USER" # set zsh as default shell

# vim 9
sudo add-apt-repository ppa:jonathonf/vim -y
yes | sudo add-apt-repository ppa:jonathonf/vim -y
sudo apt install --reinstall vim -y
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Expand All @@ -76,6 +75,13 @@ cli() {
sudo mkdir -p /usr/local/bin
sudo ln -s ~/bin/* /usr/local/bin/

# fastfetch on ubuntu 22.04+
if grep -q "Ubuntu" /etc/os-release && [ "$(awk -F'=' '/VERSION_ID/{print $2}' /etc/os-release | tr -d '\"' | awk -F'.' '{if ($1 > 22 || ($1 == 22 && $2 >= 4)) print 1; else print 0}')" -eq 1 ]; then
yes | sudo add-apt-repository ppa:zhangsongcui3371/fastfetch
sudo apt update
sudo apt install -y fastfetch
fi

### remove bloat
# screen reader
sudo apt-get remove -y orca
Expand All @@ -92,13 +98,13 @@ desktop() {
fi

# webp support for eye of gnome image viewer
sudo add-apt-repository ppa:helkaluin/webp-pixbuf-loader
yes | sudo add-apt-repository ppa:helkaluin/webp-pixbuf-loader
sudo apt-get update
sudo apt install webp-pixbuf-loader
xdg-mime default org.gnome.eog.desktop image/webp

# encrypted volumes
sudo add-apt-repository ppa:unit193/encryption
yes | sudo add-apt-repository ppa:unit193/encryption
sudo apt-get update
sudo apt-get install veracrypt
}
Expand Down Expand Up @@ -159,7 +165,7 @@ get_restic() {

android() {
pkg update && pkg upgrade
pkg install python gh
pkg install python gh fastfetch
gh auth login

vault_dir=~/storage/shared/obsidian # https://android.stackexchange.com/a/185949
Expand Down Expand Up @@ -293,7 +299,7 @@ discord() { # will setup discord and betterdiscord on first run, update both on
ytdlp() {
sudo apt-get install -y ffmpeg

sudo add-apt-repository ppa:tomtomtom/yt-dlp # Add ppa repo to apt
yes | sudo add-apt-repository ppa:tomtomtom/yt-dlp # Add ppa repo to apt
sudo apt update # Update package list
sudo apt install -y yt-dlp # Install yt-dlp
}
Expand Down
2 changes: 2 additions & 0 deletions zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ alias ipr='ip -c r'
alias lc='lolcat'
alias catl='lolcat'

alias ff='fastfetch'

# conda #
#########
alias mkenv='mamba create --name'
Expand Down

0 comments on commit 44182aa

Please sign in to comment.