update `.profile`
parent
a8d4b9fac5
commit
120aea982e
11
.profile
11
.profile
|
@ -19,15 +19,15 @@ if [ -d "$HOME/.local/bin" ]; then
|
|||
fi
|
||||
|
||||
# xdg base directory specification
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export XDG_CACHE_HOME=$HOME/.cache
|
||||
export XDG_DATA_HOME=$HOME/.local/share
|
||||
export XDG_STATE_HOME=$HOME/.local/state
|
||||
export XDG_CONFIG_HOME="$HOME"/.config
|
||||
export XDG_CACHE_HOME="$HOME"/.cache
|
||||
export XDG_DATA_HOME="$HOME"/.local/share
|
||||
export XDG_STATE_HOME="$HOME"/.local/state
|
||||
export XDG_DATA_DIRS=/usr/local/share:/usr/share
|
||||
export XDG_CONFIG_DIRS=/etc/xdg
|
||||
|
||||
# .bash_history
|
||||
export HISTFILE=$XDG_STATE_HOME/bash/history
|
||||
export HISTFILE="$XDG_STATE_HOME"/bash/history
|
||||
if [ ! -d "$(dirname "${HISTFILE}")" ]; then
|
||||
mkdir -p "$(dirname "${HISTFILE}")"
|
||||
fi
|
||||
|
@ -45,5 +45,6 @@ if [ "$(tty)" = "/dev/tty1" ] && command -v sway >/dev/null; then
|
|||
export BROWSER=firefox
|
||||
# run sway
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export WLR_RENDERER=vulkan
|
||||
exec systemd-cat --identifier sway sway
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue