Stow rework and new AI tools

This commit is contained in:
2024-05-28 19:19:00 +01:00
committed by GitHub
parent 130a0b8b39
commit c3189ba5ee
3 changed files with 17 additions and 6 deletions

View File

@@ -87,12 +87,13 @@ alias ll='ls -lhi'
alias ta='tmux attach'
alias t='tmux'
alias v='vim'
alias mp='ncmpcpp' #Music Player
set completion-ignore-case On
export OFLAGS="--ozone-platform-hint=auto"
export PATH=$PATH:/home/trude/.local/bin
export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

View File

@@ -383,7 +383,7 @@ else
fi
echo
main_menu_opts=("Install Trude's Dotfiles" "Install GNOME (desktop)" "Install GitHub CLI" "Install Google Chrome" "Install Ollama" "Install VSCode" "Install Tailscale" "+Install Games")
main_menu_opts=("Install Trude's Dotfiles" "Install GNOME (desktop)" "Install GitHub CLI" "Install Google Chrome" "Install AI" "Install VSCode" "Install Tailscale" "+Install Games")
main_menu=$(checkbox "Press SPACE to select and ENTER to continue." "${main_menu_opts[@]}")
log "$LOG_DEBUG" "Menu opts: $main_menu"
@@ -442,9 +442,7 @@ if [[ ${main_menu[@]} =~ 0 ]]; then # Install Dotfiles
fi
# Link dotfiles
stow -v -t $HOME dotfiles --adopt
git diff
git reset --hard
stow -R -t $HOME dotfiles
# Reload Fonts
fc-cache -fv
@@ -477,8 +475,19 @@ if [[ ${main_menu[@]} =~ 3 ]]; then # Chrome
rm ./google-chrome-stable_current_amd64.deb
fi
if [[ ${main_menu[@]} =~ 4 ]]; then # Ollama
if [[ ${main_menu[@]} =~ 4 ]]; then # AI
# Ollama - LLM Server
curl -fsSL https://ollama.com/install.sh | sh
# Fabric - LLM Client w/ prompts
cd ~
git clone https://github.com/danielmiessler/fabric.git
sudo nala install pipx ffmpeg
cd fabric
pipx install .
fabric --setup
cd ..
rm -rf fabric
fi
if [[ ${main_menu[@]} =~ 5 ]]; then # VSCode

View File

@@ -0,0 +1 @@
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"