From c41d32c454c92bdee20e8c17b484b66b20e4a966 Mon Sep 17 00:00:00 2001 From: urosm Date: Mon, 6 May 2024 22:11:11 +0000 Subject: [PATCH] update `.profile` --- .profile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.profile b/.profile index 1835861..61a5fd3 100644 --- a/.profile +++ b/.profile @@ -19,12 +19,12 @@ if [ -d "$HOME/.local/bin" ]; then fi # xdg base directory specification -export XDG_DATA_HOME=$HOME/.local/share 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 -export XDG_CACHE_HOME=$HOME/.cache # .bash_history export HISTFILE=$XDG_STATE_HOME/bash/history @@ -34,16 +34,3 @@ fi # editor 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 - exec systemd-cat --identifier sway sway -fi