mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
Added getvisualstyle function. (Untested)
This commit is contained in:
19
fetch
19
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
|
||||
}
|
||||
|
||||
|
||||
# }}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user