chore: changes.
This commit is contained in:
parent
88bb7a13c8
commit
400c3cc799
@ -96,21 +96,25 @@ set_prompt() {
|
|||||||
|
|
||||||
PROMPT_COMMAND=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"
|
# export PATH="$HOME/.pyenv/bin:$PATH"
|
||||||
# eval "$(pyenv init -)"
|
# eval "$(pyenv init -)"
|
||||||
# eval "$(pyenv virtualenv-init -)"
|
# eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
# direnv for go
|
# direnv for go, just use go without it lol?
|
||||||
# eval "$(direnv hook bash)"
|
# eval "$(direnv hook bash)"
|
||||||
|
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.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"
|
# [[ -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")"
|
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!!!
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
export SDKMAN_DIR="$HOME/.sdkman"
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
|
|||||||
@ -6,6 +6,13 @@ else
|
|||||||
. "$HOME/.xprofile"
|
. "$HOME/.xprofile"
|
||||||
fi
|
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.
|
# My default is dwm for now.
|
||||||
session=${1:-dwm}
|
session=${1:-dwm}
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,7 @@ chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)"
|
|||||||
|
|
||||||
# Function for prompting user for a mountpoint.
|
# Function for prompting user for a mountpoint.
|
||||||
getmount(){
|
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"
|
test -n "$mp"
|
||||||
if [ ! -d "$mp" ]; then
|
if [ ! -d "$mp" ]; then
|
||||||
mkdiryn=$(printf "No\\nYes" | dmenu -i -p "$mp does not exist. Create it?")
|
mkdiryn=$(printf "No\\nYes" | dmenu -i -p "$mp does not exist. Create it?")
|
||||||
|
|||||||
3
scripts/cura
Executable file
3
scripts/cura
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
runif /opt/cura/Cura-5.12.1-linux-X64.AppImage
|
||||||
3
scripts/meshcore
Executable file
3
scripts/meshcore
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
runif /opt/meshcore/MeshCore-v1.43.0.AppImage
|
||||||
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
runif /usr/bin/Plexamp.AppImage
|
runif /opt/plexamp/Plexamp.AppImage
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user