Commit 47132728 authored by Dylan Araps's avatar Dylan Araps

Merge pull request #210 from iandrewt/wmtheme_osx

added OS X support to wmtheme
parents 95bda482 8d602f1a
...@@ -820,6 +820,14 @@ getwmtheme () { ...@@ -820,6 +820,14 @@ getwmtheme () {
wmtheme="$(gsettings get org.cinnamon.desktop.wm.preferences theme)" wmtheme="$(gsettings get org.cinnamon.desktop.wm.preferences theme)"
wmtheme="${detheme} (${wmtheme})" wmtheme="${detheme} (${wmtheme})"
;; ;;
'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
;;
'Compiz' | 'Mutter'* | 'GNOME Shell' | 'Gala') 'Compiz' | 'Mutter'* | 'GNOME Shell' | 'Gala')
if type -p gsettings >/dev/null 2>&1; then if type -p gsettings >/dev/null 2>&1; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment