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
|
. ~/.profile
|
||||||
test ! "$REMOTE" \
|
if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
|
||||||
&& test "$(tty)" = /dev/tty1 \
|
mkdir -p "$HOME/.local/share/river"
|
||||||
&& exec env \
|
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||||
|
exec env \
|
||||||
XDG_CURRENT_DESKTOP=river \
|
XDG_CURRENT_DESKTOP=river \
|
||||||
XDG_SESSION_DESKTOP=river \
|
XDG_SESSION_DESKTOP=river \
|
||||||
dbus-run-session river
|
dbus-run-session river -log-level debug >"$log" 2>&1
|
||||||
|
fi
|
||||||
. ~/.zshrc
|
. ~/.zshrc
|
||||||
|
|
Loading…
Reference in a new issue