fix: use bash for starting river

This commit is contained in:
Bastien Riviere 2024-10-12 21:59:21 +02:00
parent 50b6a5590c
commit 57400f80f1
Signed by: babariviere
GPG key ID: 4E5F0839249F162E
4 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,5 @@
#!/bin/sh
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec river &> /tmp/river.log
fi

View file

@ -1 +0,0 @@
[ -d /home/linuxbrew/.linuxbrew ] && status --is-interactive && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

View file

@ -1 +0,0 @@
[ -z $DISPLAY ] && [ (tty) = /dev/tty1 ] && status --is-login && exec river &> /tmp/river.log