1
0
Fork 0

update `.profile`

urosm 2024-07-07 22:14:04 +02:00
parent a8d4b9fac5
commit 120aea982e
1 changed files with 6 additions and 5 deletions

View File

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