diff --git a/fetch b/fetch index 6b3358a1..23f16711 100755 --- a/fetch +++ b/fetch @@ -590,6 +590,25 @@ getcols () { } +# Windows Specific Functions + +getvisualstyle () { + case "$os" in + "Windows XP") + + ;; + + "Windows"*) + visualstyle="grep -F 'CurrentTheme' /proc/registry/HKEY_CURRENT_USER/oftware/Microsoft/Windows/CurrentVersion/Themes" + ;; + + *) + visualstyle="This feature only works on Windows" + ;; + esac +} + + # }}}