mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-25 04:44:56 +00:00
Fixed leading whitespace issue
This commit is contained in:
4
fetch
4
fetch
@@ -895,7 +895,6 @@ getgtk () {
|
||||
# Format the strings
|
||||
gtk2theme=${gtk2theme/${name}*=/}
|
||||
gtk2theme=${gtk2theme//\"/}
|
||||
gtk2theme=${gtk2theme/ / }
|
||||
|
||||
[ "$gtk2theme" ] && \
|
||||
gtktheme="$gtk2theme [GTK2] "
|
||||
@@ -903,7 +902,6 @@ getgtk () {
|
||||
# Format the string
|
||||
gtk3theme=${gtk3theme/${name}*=/}
|
||||
gtk3theme=${gtk3theme//\"/}
|
||||
gtk3theme=${gtk3theme/ / }
|
||||
gtktheme="${gtk2theme}${gtk3theme} [GTK3]"
|
||||
|
||||
# Check to see if gtk2 and gtk3 theme are identical
|
||||
@@ -913,6 +911,8 @@ getgtk () {
|
||||
gtktheme="None"
|
||||
fi
|
||||
|
||||
gtktheme=${gtktheme// /}
|
||||
|
||||
# Make the output shorter by removing "[GTKX]" from the string
|
||||
if [ "$gtk_shorthand" == "on" ]; then
|
||||
gtktheme=${gtktheme/ [GTK2]/}
|
||||
|
||||
Reference in New Issue
Block a user