From 08433654a10474e9eef41a265357961a7aa266f0 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Tue, 28 May 2024 19:19:00 +0100 Subject: [PATCH] Stow rework and new AI tools --- dotfiles/.bashrc | 3 ++- install.sh | 19 ++++++++++++++----- scripts/gnome-fractional-scaling.sh | 1 + 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 scripts/gnome-fractional-scaling.sh diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 6e06d0df..17d750cd 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -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 diff --git a/install.sh b/install.sh index a322390a..32e3f7b7 100755 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/scripts/gnome-fractional-scaling.sh b/scripts/gnome-fractional-scaling.sh new file mode 100644 index 00000000..73ac24f7 --- /dev/null +++ b/scripts/gnome-fractional-scaling.sh @@ -0,0 +1 @@ +gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"