From 7d231b88fa95b72fd3238426d33082f26a4a5283 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 8 Mar 2018 11:11:42 +1100 Subject: [PATCH] misc: cleanup --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 904cecc8..11392b19 100755 --- a/neofetch +++ b/neofetch @@ -2074,12 +2074,16 @@ END "kitty"*) if [[ -f "${KITTY_CONFIG_DIRECTORY}/kitty/kitty.conf" ]]; then kitty_file="${KITTY_CONFIG_DIRECTORY}/kitty/kitty.conf" + elif [[ -f "${XDG_CONFIG_HOME}/kitty/kitty.conf" ]]; then kitty_file="${XDG_CONFIG_HOME}/kitty/kitty.conf" + elif [[ -f "${HOME}/.config/kitty/kitty.conf" ]]; then kitty_file="${HOME}/.config/kitty/kitty.conf" + elif [[ -f "${HOME}/Library/Preferences/kitty/kitty.conf" ]]; then kitty_file="${HOME}/Library/Preferences/kitty/kitty.conf" + fi term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \