aboutsummaryrefslogtreecommitdiff
path: root/bash/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bash_profile')
-rw-r--r--bash/.bash_profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
new file mode 100644
index 0000000..47daf32
--- /dev/null
+++ b/bash/.bash_profile
@@ -0,0 +1,5 @@
+# warning: this is specific to my niri machines...
+if [[ $- == *i* && $(tty) == /dev/tty1 &&
+ -z ${WAYLAND_DISPLAY:-} && -z ${DISPLAY:-} ]]; then
+ exec niri-session
+fi