update `.profile`
parent
cefed27f7c
commit
d364d4141d
9
profile
9
profile
|
@ -80,11 +80,6 @@ export OPAMROOT=$XDG_DATA_HOME/opam
|
||||||
# editor
|
# editor
|
||||||
export EDITOR=vi
|
export EDITOR=vi
|
||||||
|
|
||||||
# ssh agent
|
|
||||||
if [ -z "$SSH_AUTH_SOCK" ]; then
|
|
||||||
eval $(ssh-agent)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# desktop
|
# desktop
|
||||||
if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
|
if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
|
||||||
# locale
|
# locale
|
||||||
|
@ -95,6 +90,8 @@ if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
export TERMINAL=footclient
|
export TERMINAL=footclient
|
||||||
export BROWSER=firefox
|
export BROWSER=firefox
|
||||||
|
# ssh agent
|
||||||
|
eval $(ssh-agent)
|
||||||
# run sway
|
# run sway
|
||||||
exec sway
|
exec systemd-cat -t sway sway
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue