parent
0de6c7e5d8
commit
6954d9e8f4
1 changed files with 5 additions and 5 deletions
10
.zprofile
10
.zprofile
|
@ -5,12 +5,12 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
|
||||||
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||||||
chmod 700 "$XDG_RUNTIME_DIR"
|
chmod 700 "$XDG_RUNTIME_DIR"
|
||||||
mkdir -p "$HOME/.local/share/river"
|
mkdir -p "$HOME/.local/share/sway"
|
||||||
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
|
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||||
exec env \
|
exec env \
|
||||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||||
XDG_CURRENT_DESKTOP=river \
|
XDG_CURRENT_DESKTOP=sway \
|
||||||
XDG_SESSION_DESKTOP=river \
|
XDG_SESSION_DESKTOP=sway \
|
||||||
dbus-run-session river >"$log" 2>&1
|
dbus-run-session sway >"$log" 2>&1
|
||||||
fi
|
fi
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
Loading…
Reference in a new issue