.profile: formatting
parent
4fe40729de
commit
fbc5415fd0
30
.profile
30
.profile
|
@ -2,10 +2,10 @@
|
|||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
|
@ -15,7 +15,7 @@ fi
|
|||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
# xdg base directory specification
|
||||
|
@ -29,7 +29,7 @@ export XDG_CONFIG_DIRS=/etc/xdg
|
|||
# .bash_history
|
||||
export HISTFILE="$XDG_STATE_HOME"/bash/history
|
||||
if [ ! -d "$(dirname "${HISTFILE}")" ]; then
|
||||
mkdir -p "$(dirname "${HISTFILE}")"
|
||||
mkdir -p "$(dirname "${HISTFILE}")"
|
||||
fi
|
||||
|
||||
# .inputrc
|
||||
|
@ -40,14 +40,14 @@ export EDITOR=vi
|
|||
|
||||
# desktop
|
||||
if [ "$(tty)" = "/dev/tty1" ] && command -v sway >/dev/null; then
|
||||
# locale
|
||||
export LANG=sl_SI.UTF-8
|
||||
export LC_MESSAGES=en_US.UTF-8
|
||||
# defaults
|
||||
export TERMINAL=footclient
|
||||
export BROWSER=firefox
|
||||
# run sway
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
# locale
|
||||
export LANG=sl_SI.UTF-8
|
||||
export LC_MESSAGES=en_US.UTF-8
|
||||
# defaults
|
||||
export TERMINAL=footclient
|
||||
export BROWSER=firefox
|
||||
# run sway
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export WLR_RENDERER=vulkan
|
||||
exec systemd-cat --identifier sway sway
|
||||
exec systemd-cat --identifier sway sway
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue