This commit is contained in:
Johannes Findeisen 2025-07-23 03:18:34 +02:00
commit d6382f1413
5 changed files with 21 additions and 34 deletions

View file

@ -1,23 +0,0 @@
# Java Stuff
#export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
# Android / Kivy Development Stuff
export ANDROID_HOME=$HOME/android/sdk
export ANDROIDSDK="$HOME/android/sdk"
export ANDROID_SDK_ROOT="$HOME/android/sdk"
#export ANDROIDNDK="/opt/android-ndk"
#export ANDROIDAPI="27"
#export ANDROIDNDKVER="r16b"
export CHROME_EXECUTABLE=/usr/bin/google-chrome-stable
# Export the $EDITOR and $TERMINAL
export BROWSER=/usr/bin/firefox
export EDITOR=/usr/bin/vim
export TERMINAL='/usr/bin/uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange -fa "Source Code Pro" -fs 14'
# Fix to make JAVA applications behave more friendly in awesome. Still many JAVA apps
# suck in awesome. PyCharm works perfect, Arduino does not!
export _JAVA_AWT_WM_NONREPARENTING=1
export XDG_RUNTIME_DIR=/run/user/1000

View file

@ -22,10 +22,11 @@ alias lla='ls -la --color'
alias llh='ls -lh --color'
alias llah='ls -lah --color'
alias su='us'
alias n='nnn -diUxe'
alias ssh='s'
alias su='us'
alias vi=vim
alias xterm=$TERMINAL

View file

@ -14,12 +14,12 @@ us() {
tmux rename-window "su(${target_user})"
# Use "command su" to bypass the function if it exists
command su "$@"
command "$SU" "$@"
# Restore original window name after exit
tmux rename-window "$original_name"
else
command su "$@"
command "$SU" "$@"
fi
}