update `.profile`
parent
596932ca27
commit
e419d10a3c
14
profile
14
profile
|
@ -1,11 +1,18 @@
|
||||||
# .profile
|
# ~/.profile
|
||||||
|
|
||||||
|
# if running bash
|
||||||
if [ -n "$BASH_VERSION" ]; then
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
|
# include .bashrc if it exists
|
||||||
if [ -f "$HOME/.bashrc" ]; then
|
if [ -f "$HOME/.bashrc" ]; then
|
||||||
. "$HOME/.bashrc"
|
. "$HOME/.bashrc"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/bin" ] ; then
|
||||||
|
PATH="$HOME/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
# set PATH so it includes user's private bin if it exists
|
# set PATH so it includes user's private bin if it exists
|
||||||
if [ -d "$HOME/.local/bin" ]; then
|
if [ -d "$HOME/.local/bin" ]; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
@ -81,16 +88,11 @@ if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
|
||||||
# locale
|
# locale
|
||||||
export LANG=sl_SI.UTF-8
|
export LANG=sl_SI.UTF-8
|
||||||
export LC_MESSAGES=en_US.UTF-8
|
export LC_MESSAGES=en_US.UTF-8
|
||||||
|
|
||||||
# defaults
|
# defaults
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
export TERMINAL=footclient
|
export TERMINAL=footclient
|
||||||
export BROWSER=firefox
|
export BROWSER=firefox
|
||||||
|
|
||||||
# wayland
|
|
||||||
# export WLR_DRM_NO_ATOMIC=1
|
|
||||||
|
|
||||||
# run sway
|
# run sway
|
||||||
exec systemd-cat --identifier=sway sway
|
exec systemd-cat --identifier=sway sway
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue