diff --git a/.config/bash/.bashrc b/.config/bash/.bashrc index d86df48..7a2705f 100644 --- a/.config/bash/.bashrc +++ b/.config/bash/.bashrc @@ -96,21 +96,25 @@ set_prompt() { PROMPT_COMMAND=set_prompt -# # Pyenv stuff +# # Pyenv stuff, I don't know why but I hate python # export PATH="$HOME/.pyenv/bin:$PATH" # eval "$(pyenv init -)" # eval "$(pyenv virtualenv-init -)" -# direnv for go +# direnv for go, just use go without it lol? # eval "$(direnv hook bash)" [ -f ~/.fzf.bash ] && source ~/.fzf.bash -# cargo +# cargo, lol I don't use rust # [[ -f "$HOME/.local/share/cargo/env" ]] && source "/home/solomon/.local/share/cargo/env" +# for chatgpt script export OPENAI_API_KEY="$(mkdir -p "$HOME/.config/openai" && touch "$HOME/.config/openai/KEY" && cat "$HOME/.config/openai/KEY")" +# zoxide shizz +eval "$(zoxide init bash)" + #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! export SDKMAN_DIR="$HOME/.sdkman" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 069444a..9a072e4 100755 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -6,6 +6,13 @@ else . "$HOME/.xprofile" fi +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + # My default is dwm for now. session=${1:-dwm} diff --git a/.local/bin/mounter b/.local/bin/mounter index 389f2d3..ce92c1f 100755 --- a/.local/bin/mounter +++ b/.local/bin/mounter @@ -60,7 +60,7 @@ chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)" # Function for prompting user for a mountpoint. getmount(){ - mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | dmenu -i -p "Mount this drive where?")" + mp="$(find /mnt /media /mount /home /home/solomon/usb -maxdepth 1 -type d 2>/dev/null | dmenu -i -p "Mount this drive where?")" test -n "$mp" if [ ! -d "$mp" ]; then mkdiryn=$(printf "No\\nYes" | dmenu -i -p "$mp does not exist. Create it?") diff --git a/scripts/cura b/scripts/cura new file mode 100755 index 0000000..5e5ae05 --- /dev/null +++ b/scripts/cura @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +runif /opt/cura/Cura-5.12.1-linux-X64.AppImage diff --git a/scripts/meshcore b/scripts/meshcore new file mode 100755 index 0000000..379c0fa --- /dev/null +++ b/scripts/meshcore @@ -0,0 +1,3 @@ +#!/bin/bash + +runif /opt/meshcore/MeshCore-v1.43.0.AppImage diff --git a/scripts/plexamp b/scripts/plexamp index 6d1f5d9..e1ba5d7 100755 --- a/scripts/plexamp +++ b/scripts/plexamp @@ -1,3 +1,3 @@ #!/bin/bash -runif /usr/bin/Plexamp.AppImage +runif /opt/plexamp/Plexamp.AppImage