summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..cb7dd59
--- /dev/null
+++ b/.bashrc
@@ -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