commit bd02e6caeb77dd35d41672df3c4d8654ba2e6bb3 parent 57c54e5f866a2e76faae1b1c640006965b55bbd9 Author: Milutin Popovic <milutin@popovic.xyz> Date: Fri, 27 Mar 2026 21:18:36 +0000 bump Diffstat:
| M | .config/zsh/.zprofile | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile @@ -1,4 +1,9 @@ #!/usr/bin/env zsh -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] &&\ +if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then + if command -v dwm >/dev/null 2>&1; then exec startx "$XDG_CONFIG_HOME/X11/xinitrc" vt1 + else + exec niri-session -l + fi +fi