Skip to content

Commit f29dde9

Browse files
committed
fix: revert to see filepath again
1 parent f15c201 commit f29dde9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/path-widget.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
77
# get value from tmux config
88
SHOW_PATH=$(tmux show-option -gv @catppuccin-tmux_show_path 2>/dev/null)
99
PATH_FORMAT=$(tmux show-option -gv @catppuccin-tmux_path_format 2>/dev/null) # full | relative
10+
RESET="#[fg=brightwhite,bg=#15161e,nobold,noitalics,nounderscore,nodim]"
1011

1112
# check if not enabled
1213
if [ "${SHOW_PATH}" != "1" ]; then
@@ -22,4 +23,4 @@ if [[ ${PATH_FORMAT} == "relative" ]]; then
2223
current_path="$(echo ${current_path} | sed 's#'"$HOME"'#~#g')"
2324
fi
2425

25-
echo "$RESET#[fg=${THEME[foreground]},bg=${THEME[background]}]${current_path} "
26+
echo "#[fg=blue,bg=default] ${RESET}#[bg=default]${current_path} "

0 commit comments

Comments
 (0)