mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
Remove quotes from theme output
This commit is contained in:
2
fetch
2
fetch
@@ -1290,6 +1290,8 @@ getstyle () {
|
|||||||
|
|
||||||
# Final string
|
# Final string
|
||||||
theme="${gtk2theme}${gtk3theme}"
|
theme="${gtk2theme}${gtk3theme}"
|
||||||
|
theme=${theme//\"}
|
||||||
|
theme=${theme//\'}
|
||||||
|
|
||||||
# If the final string is empty print "None"
|
# If the final string is empty print "None"
|
||||||
[ -z "$theme" ] && theme="None"
|
[ -z "$theme" ] && theme="None"
|
||||||
|
|||||||
Reference in New Issue
Block a user