diff --git a/fetch b/fetch index 61f150b5..9e1d4923 100755 --- a/fetch +++ b/fetch @@ -599,7 +599,9 @@ getvisualstyle () { ;; "Windows"*) - visualstyle="$(grep -F 'CurrentTheme' /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Themes)" + visualstyle="$(grep '' /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Themes/CurrentTheme)" + visualstyle=${visualstyle##*/} + visualstyle=${visualstyle%\.*} ;; *)