puntos/.zprofile

11 lines
323 B
Text
Raw Normal View History

2021-12-27 16:03:26 +00:00
source ~/.profile
2021-12-27 13:37:48 +00:00
if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
2022-02-19 15:19:21 +00:00
mkdir -p "$HOME/.local/share/sway"
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
2021-12-27 13:37:48 +00:00
exec env \
2022-02-19 15:19:21 +00:00
XDG_CURRENT_DESKTOP=sway \
XDG_SESSION_DESKTOP=sway \
dbus-run-session sway >"$log" 2>&1
2021-12-27 13:37:48 +00:00
fi
2021-12-27 16:03:26 +00:00
source ~/.zshrc