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