dotfiles/sh/.config/sh/profile.d/autostartx.sh

10 lines
163 B
Bash

#!/usr/bin/env sh
if [ -n "$DISPLAY" ] || [ -z "$XDG_VTNR" ] || [ "$XDG_VTNR" -ne 1 ]; then
return
fi
if command -v river >/dev/null 2>&1; then
river
fi