diff --git a/Code/User/settings.json b/Code/User/settings.json new file mode 100644 index 0000000..2efadef --- /dev/null +++ b/Code/User/settings.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "Visual Studio Dark" +} \ No newline at end of file diff --git a/bash/aliases.sh b/bash/aliases.sh new file mode 100644 index 0000000..f7df42f --- /dev/null +++ b/bash/aliases.sh @@ -0,0 +1,41 @@ +# Alias definitions + +# helper funcs +_git(){ + [ $# -eq 0 ] && { + git status && git branch + } || { + git "$@" + } +} + +# Default aliases +alias ls='ls --color=auto' +alias grep='grep --color=auto' +#alias nyx='nyx -c ~/.config/nyx/config/' + +# Ease of use aliases +alias '..'='cd ../' +alias '...'='cd ../..' +alias google='google-chrome-stable' + +# special aliases +alias 'ff'='nvim $(fzf)' +alias ts='date +%Y%m%d%H%M%S' + +# git aliases +alias gs='git status' +alias ga='git add' + +# Single letter aliases +alias c='claude' +alias d='du_color' +alias e='nvim' +alias g=_git +alias l='ls -alh' +alias p='pacman' +alias t='tmux' +alias v='nvim' + +# Load in any secret aliases if there may be +[ -f ~/config/bash/aliases.sh.secret ] && . ~/.config/bash/aliases.sh.secret diff --git a/bash/binds.sh b/bash/binds.sh new file mode 100644 index 0000000..4826547 --- /dev/null +++ b/bash/binds.sh @@ -0,0 +1 @@ +bind '"\C-f":"~/.local/bin/fzf-nvim.sh\n"' diff --git a/bash/env.sh b/bash/env.sh new file mode 100644 index 0000000..99b8b92 --- /dev/null +++ b/bash/env.sh @@ -0,0 +1,31 @@ +# My default editor +export EDITOR='nvim' + +# Add user created scripts to path +[ -d ~/.local/bin ] && export PATH=$PATH:$HOME/.local/bin + +[ ! -d ~/.config ] && { + echo "Error ~/.config does no exist. Creating." + mkdir ~/.config +} + +export config="$HOME/.config" +export CONFIG="$HOME/.config" + +export CARGO_HOME="$CONFIG/cargo" +export GNUPGHOME="$CONFIG/gnupg" +export __GL_SHADER_DISK_CACHE_PATH="$CONFIG/nv" + +# https://asdf-vm.com/guide/getting-started.html +export ASDF_DIR="$CONFIG/.asdf" +export ASDF_DATA_DIR="$ASDF_DIR" +. "$ASDF_DIR/asdf.sh" +. "$ASDF_DIR/completions/asdf.bash" + +# https://direnv.net/ +eval "$(direnv hook bash)" + +#source ~/sdks/vulkan/1.4.313.0/setup-env.sh + +# export DENO_CONFIG="/home/caleb/.config/deno" +# export PATH="$DENO_CONFIG/bin:$PATH" diff --git a/bash/prompt.sh b/bash/prompt.sh new file mode 100755 index 0000000..4901176 --- /dev/null +++ b/bash/prompt.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +CLEAR_COLOR="\[\e[0m\]" + +# Default value +prompt=" % " + +#prompt="$CLEAR_COLOR[\[\033[1;38m\]\w$CLEAR_COLOR]$CLEAR_COLOR " + +# My custom prompt +prompt="\[\033[32m\]\u\[\033[36m\]@\[\033[32m\]\h \[\033[37m\]\W\[\033[36m\]$\[\e[0m\] " + +# ParrotOS prompt +# prompt="\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]" + +# Give prompt to bashrc +echo $prompt diff --git a/dunst/normal.png b/dunst/normal.png new file mode 100644 index 0000000..505e12c Binary files /dev/null and b/dunst/normal.png differ diff --git a/mimeapps.list b/mimeapps.list new file mode 100644 index 0000000..feb1ca7 --- /dev/null +++ b/mimeapps.list @@ -0,0 +1,8 @@ + +[Default Applications] +text/html=google-chrome.desktop +x-scheme-handler/http=google-chrome.desktop +x-scheme-handler/https=google-chrome.desktop +x-scheme-handler/about=google-chrome.desktop +x-scheme-handler/unknown=google-chrome.desktop +x-scheme-handler/claude-cli=claude-code-url-handler.desktop diff --git a/nvim/init.vim b/nvim/init.vim new file mode 100644 index 0000000..cbd2c8a --- /dev/null +++ b/nvim/init.vim @@ -0,0 +1,4 @@ +set number +set tabstop=4 +set shiftwidth=4 + diff --git a/pavucontrol.ini b/pavucontrol.ini new file mode 100644 index 0000000..644f9df --- /dev/null +++ b/pavucontrol.ini @@ -0,0 +1,9 @@ +[window] +width=1920 +height=1048 +sinkInputType=1 +sourceOutputType=1 +sinkType=0 +sourceType=1 +showVolumeMeters=1 +hideUnavailableCardProfiles=0 diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..f723ef5 --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,4 @@ +set -g default-terminal "screen-256color" +set -ag terminal-overrides ",screen-256color:RGB" +set -g mouse on +