From 8fe5cf9ebfafc212827e0ee39e025d6125c2167d Mon Sep 17 00:00:00 2001 From: urosm Date: Sun, 7 Jul 2024 22:14:04 +0200 Subject: [PATCH] .profile: update --- .profile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.profile b/.profile index f05e8c3..716deba 100644 --- a/.profile +++ b/.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