misc: cleanup
This commit is contained in:
parent
24671c6d09
commit
7d231b88fa
4
neofetch
4
neofetch
|
@ -2074,12 +2074,16 @@ END
|
||||||
"kitty"*)
|
"kitty"*)
|
||||||
if [[ -f "${KITTY_CONFIG_DIRECTORY}/kitty/kitty.conf" ]]; then
|
if [[ -f "${KITTY_CONFIG_DIRECTORY}/kitty/kitty.conf" ]]; then
|
||||||
kitty_file="${KITTY_CONFIG_DIRECTORY}/kitty/kitty.conf"
|
kitty_file="${KITTY_CONFIG_DIRECTORY}/kitty/kitty.conf"
|
||||||
|
|
||||||
elif [[ -f "${XDG_CONFIG_HOME}/kitty/kitty.conf" ]]; then
|
elif [[ -f "${XDG_CONFIG_HOME}/kitty/kitty.conf" ]]; then
|
||||||
kitty_file="${XDG_CONFIG_HOME}/kitty/kitty.conf"
|
kitty_file="${XDG_CONFIG_HOME}/kitty/kitty.conf"
|
||||||
|
|
||||||
elif [[ -f "${HOME}/.config/kitty/kitty.conf" ]]; then
|
elif [[ -f "${HOME}/.config/kitty/kitty.conf" ]]; then
|
||||||
kitty_file="${HOME}/.config/kitty/kitty.conf"
|
kitty_file="${HOME}/.config/kitty/kitty.conf"
|
||||||
|
|
||||||
elif [[ -f "${HOME}/Library/Preferences/kitty/kitty.conf" ]]; then
|
elif [[ -f "${HOME}/Library/Preferences/kitty/kitty.conf" ]]; then
|
||||||
kitty_file="${HOME}/Library/Preferences/kitty/kitty.conf"
|
kitty_file="${HOME}/Library/Preferences/kitty/kitty.conf"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
||||||
|
|
Reference in New Issue