mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 03:37:12 +00:00
Uppercase the first letter of each Theme output
This commit is contained in:
4
fetch
4
fetch
@@ -1249,6 +1249,10 @@ getstyle () {
|
||||
gtk3theme=${gtk3theme/[[:space:]]/ }
|
||||
fi
|
||||
|
||||
# Uppercase the first letter of each gtk theme
|
||||
gtk2theme=${gtk2theme^}
|
||||
gtk3theme=${gtk3theme^}
|
||||
|
||||
# Toggle visibility of gtk themes.
|
||||
[ "$gtk2" == "off" ] && unset gtk2theme
|
||||
[ "$gtk3" == "off" ] && unset gtk3theme
|
||||
|
||||
Reference in New Issue
Block a user