azure/files/etc/profile.d/startniri.sh

5 lines
93 B
Bash

#!/bin/sh
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec niri-session
fi