diff --git a/install.sh b/install.sh index cc8cb85..fc4e529 100644 --- a/install.sh +++ b/install.sh @@ -20,6 +20,18 @@ # autorandr --remove PROFILENAME # autorandr --default PROFILENAME +# fzf "general-purpose command-line fuzzy finder" +# https://github.com/junegunn/fzf +# nano $(fzf --preview='cat {}') + +# Neovim (nvim) - https://neovim.io/ - https://neovim.io/doc/user/vimindex.html +# Vim commands you NEED TO KNOW https://www.youtube.com/watch?v=RSlrxE21l_k + +# LazyVim - Can be used after Neovim >= 0.9.0 - https://github.com/LazyVim/LazyVim +# https://github.com/folke/lazy.nvim + +# Start the install *_:*:_*:*:_*_*:*:_*::*_*::*_*:_*::*_*:*:**_:*:*_*:*:_*:*_:*:# + # Whiptail colors export NEWT_COLORS=' root=white,gray @@ -52,7 +64,6 @@ GREEN="\033[0;32m" YELLOW="\033[0;33m" BLUE="\033[0;94m" -# Start the install *_:*:_*:*:_*_*:*:_*::*_*::*_*:_*::*_*:*:**_:*:*_*:*:_*:*_:*:# clear if ! dpkg -s whiptail >/dev/null 2>&1; then @@ -146,7 +157,7 @@ echo -e "${YELLOW} Core System APT install ${NC}" sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom fwupd mesa-utils htop feh wget curl git alsa-utils alsa-tools pulseaudio numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1 sudo apt install -y sddm --no-install-recommends -sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp +sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp fzf # ------------------------------------------------------------------------------------------------- echo -e "${YELLOW} Audio on system - https://alsa.opensrc.org - https://wiki.debian.org/ALSA ${NC}" @@ -398,6 +409,26 @@ fi echo -e "${YELLOW} Wallpapers END ${NC}" # ------------------------------------------------------------------------------------------------- +echo -e "${YELLOW} Neovim config Start ${NC}" + +if [ ! -f ~.config/nvim/init.vim ]; then +mkdir -p ~/.config/nvim +cat << "NEOVIMCONFIG" > ~.config/nvim/init.vim +syntax on +set number +set numberwidth=5 +set relativenumber +set ignorecase +NEOVIMCONFIG + +else + echo "Neovim config file already exists." +fi + +echo -e "${YELLOW} Neovim config END ${NC}" +# ------------------------------------------------------------------------------------------------- + + # ------------------------------------------------------------------------------------------------- echo -e "${YELLOW} Nerd Fonts START - https://www.nerdfonts.com/font-downloads - https://www.nerdfonts.com/cheat-sheet - - - ${NC}" @@ -411,6 +442,19 @@ fi # DejaVu Sans Mono font wget -P /tmp/ https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/DejaVuSansMono.zip unzip -q -n /tmp/DejaVuSansMono.zip -d ~/.fonts + +# Space Mono +wget -P /tmp/ https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/SpaceMono.zip +unzip -q -n /tmp/SpaceMono.zip -d ~/.fonts + +# Roboto Mono +wget -P /tmp/ https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/RobotoMono.zip +unzip -q -n /tmp/RobotoMono.zip -d ~/.fonts + +# Fira Mono +wget -P /tmp/ https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/FiraMono.zip +unzip -q -n /tmp/FiraMono.zip -d ~/.fonts + rm -f ~/.fonts/*.md rm -f ~/.fonts/*.txt @@ -2379,16 +2423,16 @@ for vt in range(1, 8): # nf-md-pac_man 󰮯 nf-md-ghost 󰊠 nf-fa-circle  nf-cod-circle_large  nf-cod-circle_filled  nf-md-circle_small 󰧟 nf-md-circle_medium 󰧞 groups = [ - Group("1", label="", layout="monadtall"), + Group("1", label="", layout="monadtall"), Group("2", label="󰧞", layout="monadtall"), Group("3", label="󰮯", layout="monadtall"), Group("4", label="󰧞", layout="monadtall"), Group("5", label="󰧞", layout="monadtall"), - Group("6", label="󰊠", layout="monadtall"), + Group("6", label="", layout="monadtall"), Group("7", label="󰧞", layout="monadtall"), - Group("8", label="󰧞", layout="monadtall"), - Group("9", label="", layout="monadtall"), - Group("0", label="󰑌", layout="bsp"), + Group("8", label="󰊠", layout="monadtall"), + Group("9", label="󰧞", layout="monadtall"), + Group("0", label="", layout="bsp"), ] for i in groups: @@ -2464,7 +2508,7 @@ screens = [ [ widget.CurrentLayoutIcon(scale=0.7, padding=10), widget.Spacer(length=5), - widget.GroupBox(highlight_method="text", highlight_color="#12181c", urgent_border="#ffffff", active="#ffffff", inactive="#465159", rounded="False", borderwidth=0), + widget.GroupBox(fontsize=16, highlight_method="text", highlight_color="#12181c", urgent_border="#ffffff", active="#ffffff", inactive="#465159", rounded="False", borderwidth=0), widget.Spacer(length=9), widget.Prompt(), widget.Spacer(),