From fbc5415fd0b589f02f14e7e7cfcf79584d09f61e Mon Sep 17 00:00:00 2001 From: urosm Date: Tue, 9 Jul 2024 11:14:26 +0200 Subject: [PATCH] .profile: formatting --- .profile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.profile b/.profile index b996a45..be8870e 100644 --- a/.profile +++ b/.profile @@ -2,10 +2,10 @@ # if running bash if [ -n "$BASH_VERSION" ]; then - # include .bashrc if it exists - if [ -f "$HOME/.bashrc" ]; then - . "$HOME/.bashrc" - fi + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi fi # set PATH so it includes user's private bin if it exists @@ -15,7 +15,7 @@ fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/.local/bin" ]; then - PATH="$HOME/.local/bin:$PATH" + PATH="$HOME/.local/bin:$PATH" fi # xdg base directory specification @@ -29,7 +29,7 @@ export XDG_CONFIG_DIRS=/etc/xdg # .bash_history export HISTFILE="$XDG_STATE_HOME"/bash/history if [ ! -d "$(dirname "${HISTFILE}")" ]; then - mkdir -p "$(dirname "${HISTFILE}")" + mkdir -p "$(dirname "${HISTFILE}")" fi # .inputrc @@ -40,14 +40,14 @@ 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 + # 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 export WLR_RENDERER=vulkan - exec systemd-cat --identifier sway sway + exec systemd-cat --identifier sway sway fi