added OS X to wmtheme
This commit is contained in:
parent
dda8d6cb20
commit
8d602f1afe
1 changed files with 8 additions and 0 deletions
8
neofetch
8
neofetch
|
@ -816,6 +816,14 @@ getwmtheme () {
|
|||
'2bwm')
|
||||
|
||||
;;
|
||||
'Quartz Compositor')
|
||||
wmtheme=$(/usr/libexec/PlistBuddy -c "Print AppleAquaColorVariant" ~/Library/Preferences/.GlobalPreferences.plist)
|
||||
if [ -z "$wmtheme" ] || [ "$wmtheme" == "1" ]; then
|
||||
wmtheme="Blue"
|
||||
else
|
||||
wmtheme="Graphite"
|
||||
fi
|
||||
;;
|
||||
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue