profile: always try to set xdg dir
needed for greetd-tui into bash
#!/bin/bash
-# /etc/skel/.bash_profile
+# Ensure XDG_RUNTIME_DIR is set
+if test -z "$XDG_RUNTIME_DIR"; then
+ export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
+fi
+
export PATH="$PATH:$HOME/Applications:$HOME/go/bin:$HOME/.cargo/bin:/opt/android-sdk/platform-tools:$HOME/.local/bin"
export EDITOR="kak"
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
+alias cdg='cd "$(git rev-parse --show-toplevel)"'
alias df='/usr/bin/df -h --output=target,fstype,used,avail,pcent,source | sort -n'
alias du='du -h'
alias fastfetch='fastfetch -c "$HOME/.config/fastfetch/default.jsonc"'