Revert "Revert "Revert "zprofile: Usar river"""

This reverts commit 305f2806c7.
This commit is contained in:
Cat /dev/Nulo 2022-10-14 19:25:38 -03:00
parent de1c2b26e1
commit df6585e875

View file

@ -5,12 +5,12 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
XDG_RUNTIME_DIR="/run/user/$(id -u)"
mkdir -p "$XDG_RUNTIME_DIR"
chmod 700 "$XDG_RUNTIME_DIR"
mkdir -p "$HOME/.local/share/river"
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
mkdir -p "$HOME/.local/share/sway"
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
exec env \
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
XDG_CURRENT_DESKTOP=river \
XDG_SESSION_DESKTOP=river \
dbus-run-session river >"$log" 2>&1
XDG_CURRENT_DESKTOP=sway \
XDG_SESSION_DESKTOP=sway \
dbus-run-session sway >"$log" 2>&1
fi
source ~/.zshrc