Added getvisualstyle function. (Untested)

This commit is contained in:
Dylan 2016-01-07 14:37:24 +11:00
parent 5953035e38
commit 2770a31ad7
1 changed files with 19 additions and 0 deletions

19
fetch
View File

@ -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
}
# }}}