#!/bin/zsh # start wayland at session login on tty1 [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x river >/dev/null && exec river