zsh: logear river

This commit is contained in:
Cat /dev/Nulo 2021-12-27 10:37:48 -03:00
parent cf1494996f
commit a9c933cbb1

View file

@ -1,8 +1,10 @@
. ~/.profile
test ! "$REMOTE" \
&& test "$(tty)" = /dev/tty1 \
&& exec env \
XDG_CURRENT_DESKTOP=river \
XDG_SESSION_DESKTOP=river \
dbus-run-session river
if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
mkdir -p "$HOME/.local/share/river"
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
exec env \
XDG_CURRENT_DESKTOP=river \
XDG_SESSION_DESKTOP=river \
dbus-run-session river -log-level debug >"$log" 2>&1
fi
. ~/.zshrc