Created
August 30, 2024 15:18
-
-
Save alextakitani/f040e6efcc4e203d863aecdacfaddd1c to your computer and use it in GitHub Desktop.
Basic Tuxedo Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update && sudo apt upgrade -y | |
| sudo apt install -y qtchooser zsh ssh curl nfs-common zenity gnome-keyring git cmake g++ build-essential vim libcurl4-openssl-dev htop iotop libmagickwand-dev imagemagick fonts-firacode imwheel tmux rustc libyaml-dev gawk zsh-antigen vorta | |
| mkdir -p ~/.local/share/fonts | |
| cd ~/Downloads | |
| wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip | |
| unzip CascadiaMono.zip -d CascadiaFont | |
| cp CascadiaFont/*.ttf ~/.local/share/fonts | |
| rm -rf CascadiaMono.zip CascadiaFont | |
| wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FiraMono.zip | |
| unzip FiraMono.zip -d FiraMono | |
| cp FiraMono/*.otf ~/.local/share/fonts | |
| rm -rf FiraMono.zip FiraMono | |
| wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip | |
| unzip JetBrainsMono.zip -d JetBrainsMono | |
| cp JetBrainsMono/*.ttf ~/.local/share/fonts | |
| rm -rf JetBrainsMono.zip JetBrainsMono | |
| wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip | |
| unzip Meslo.zip -d Meslo | |
| cp Meslo/*.ttf ~/.local/share/fonts | |
| rm -rf Meslo.zip Meslo | |
| fc-cache | |
| cd - | |
| test -f $HOME/.zshrc || touch $HOME/.zshrc | |
| curl -L git.io/antigen > $HOME/antigen.zsh | |
| cat << EOF >> ~/.zshrc | |
| source $HOME/antigen.zsh | |
| # Load the oh-my-zsh's library | |
| antigen use oh-my-zsh | |
| antigen bundle git | |
| # Syntax highlighting bundle. | |
| antigen bundle zsh-users/zsh-syntax-highlighting | |
| # Fish-like auto suggestions | |
| antigen bundle zsh-users/zsh-autosuggestions | |
| # Extra zsh completions | |
| antigen bundle zsh-users/zsh-completions | |
| antigen bundle command-not-found | |
| antigen bundle bundler | |
| antigen bundle z | |
| # Load the theme | |
| antigen theme romkatv/powerlevel10k | |
| # Tell antigen that you're done | |
| antigen apply | |
| alias ls='eza -lh --group-directories-first --icons' | |
| alias lsa='ls -a' | |
| alias lt='eza --tree --level=2 --long --icons --git' | |
| alias lta='lt -a' | |
| alias ff="fzf --preview 'batcat --style=numbers --color=always {}'" | |
| EOF | |
| sudo bash -c 'cat << EOF > /etc/sysctl.conf | |
| fs.inotify.max_user_watches=524288 | |
| fs.inotify.max_user_instances = 256 | |
| EOF' | |
| sudo chsh -s /bin/zsh | |
| # Browse the web with the most popular browser. See https://www.google.com/chrome/ | |
| cd /tmp | |
| wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| sudo apt install -y ./google-chrome-stable_current_amd64.deb | |
| rm google-chrome-stable_current_amd64.deb | |
| xdg-settings set default-web-browser google-chrome.desktop | |
| cd - | |
| #DEBGET | |
| sudo apt install curl lsb-release wget | |
| curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | sudo -E bash -s install deb-get | |
| deb-get update | |
| deb-get upgrade | |
| deb-get install balena-etcher fastfetch anydesk | |
| # ATUIN | |
| curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh | |
| sed -i 's|eval "$(atuin init zsh)"|eval "$(atuin init zsh --disable-up-arrow)"|' ~/.zshrc | |
| # Konsole | |
| cat << EOF >> "$HOME/.local/share/konsole/Profile 1.profile" | |
| [Appearance] | |
| ColorScheme=Solarized | |
| Font=FiraMono Nerd Font Mono,10,-1,5,50,0,0,0,0,0 | |
| [General] | |
| Command=/bin/zsh -l | |
| Environment=TERM=xterm-256color,COLORTERM=truecolor,SHELL=/bin/zsh | |
| Name=Profile 1 | |
| Parent=FALLBACK/ | |
| [Interaction Options] | |
| AutoCopySelectedText=true | |
| TextEditorCmd=6 | |
| TextEditorCmdCustom=code -g PATH:LINE | |
| TrimLeadingSpacesInSelectedText=true | |
| TrimTrailingSpacesInSelectedText=true | |
| UnderlineFilesEnabled=true | |
| EOF | |
| sed -i '1i\[Desktop Entry]\nDefaultProfile=Profile 1.profile\n' ~/.config/konsolerc | |
| sudo apt autoremove -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment