mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
misc: Start removing useless quotes
This commit is contained in:
6
neofetch
6
neofetch
@@ -2715,7 +2715,7 @@ get_style() {
|
|||||||
[[ $gtk3 == off ]] && unset gtk3_theme
|
[[ $gtk3 == off ]] && unset gtk3_theme
|
||||||
|
|
||||||
# Format the string based on which themes exist.
|
# Format the string based on which themes exist.
|
||||||
if [[ $gtk2_theme && $gtk2_theme == $gtk3_theme ]]; then
|
if [[ $gtk2_theme && $gtk2_theme == "$gtk3_theme" ]]; then
|
||||||
gtk3_theme+=" [GTK2/3]"
|
gtk3_theme+=" [GTK2/3]"
|
||||||
unset gtk2_theme
|
unset gtk2_theme
|
||||||
|
|
||||||
@@ -2868,7 +2868,7 @@ END
|
|||||||
for ((i=0; i<profiles_count; i++)); do
|
for ((i=0; i<profiles_count; i++)); do
|
||||||
profile_name="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Name:'" "$font_file")"
|
profile_name="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Name:'" "$font_file")"
|
||||||
|
|
||||||
if [[ $profile_name == $current_profile_name ]]; then
|
if [[ $profile_name == "$current_profile_name" ]]; then
|
||||||
# "Normal Font"
|
# "Normal Font"
|
||||||
term_font="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Normal Font:'" \
|
term_font="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Normal Font:'" \
|
||||||
"$font_file")"
|
"$font_file")"
|
||||||
@@ -2883,7 +2883,7 @@ END
|
|||||||
non_ascii="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Non Ascii Font:'" \
|
non_ascii="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Non Ascii Font:'" \
|
||||||
"$font_file")"
|
"$font_file")"
|
||||||
|
|
||||||
[[ $term_font != $non_ascii ]] && \
|
[[ $term_font != "$non_ascii" ]] && \
|
||||||
term_font="$term_font (normal) / $non_ascii (non-ascii)"
|
term_font="$term_font (normal) / $non_ascii (non-ascii)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user