zsh: logear river
This commit is contained in:
parent
cf1494996f
commit
a9c933cbb1
1 changed files with 8 additions and 6 deletions
10
.zprofile
10
.zprofile
|
@ -1,8 +1,10 @@
|
|||
. ~/.profile
|
||||
test ! "$REMOTE" \
|
||||
&& test "$(tty)" = /dev/tty1 \
|
||||
&& exec env \
|
||||
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
|
||||
dbus-run-session river -log-level debug >"$log" 2>&1
|
||||
fi
|
||||
. ~/.zshrc
|
||||
|
|
Loading…
Reference in a new issue