diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' + +export PS1="\w > " +export PATH=${PATH}:~/.local/bin:~/.cargo/bin +#export QT_QPA_PLATFORMTHEME=qt6ct + +if [ -z "${XDG_RUNTIME_DIR}" ]; then + export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir + if ! [ -d "${XDG_RUNTIME_DIR}" ]; then + mkdir "${XDG_RUNTIME_DIR}" + chmod 0700 "${XDG_RUNTIME_DIR}" + fi +fi + +if [ -z "${WAYLAND_DISPLAY}" ] && [ "$(tty)" = "/dev/tty1" ]; then + dwl -s .local/bin/dwl-startup.sh +fi |