From 2cbacd12339d03eb613eba0c2f2388926e6e3da9 Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Thu, 29 Oct 2026 21:08:36 -0500 Subject: bash: launch niri-session on tty1 Experimenting with removing any login handlers and going basic. To not have to type in the niri launch command, I set the bash profile to launch niri automatically if the VT is tty1. --- bash/.bash_profile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bash/.bash_profile 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 -- cgit v1.3