1
0
Fork 0

update `.profile`

urosm 2024-01-15 00:27:59 +01:00
parent cefed27f7c
commit d364d4141d
1 changed files with 3 additions and 6 deletions

View File

@ -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