Commit d0975b24 authored by Michael Straube's avatar Michael Straube

General: Fix arithmetic expression

parent d8551216
...@@ -697,7 +697,7 @@ get_wm_theme() { ...@@ -697,7 +697,7 @@ get_wm_theme() {
"Quartz Compositor") "Quartz Compositor")
wm_theme="$(/usr/libexec/PlistBuddy -c "Print AppleAquaColorVariant" ~/Library/Preferences/.GlobalPreferences.plist)" wm_theme="$(/usr/libexec/PlistBuddy -c "Print AppleAquaColorVariant" ~/Library/Preferences/.GlobalPreferences.plist)"
if [[ -z "$wm_theme" ]] || (("$wm_theme" == 1)); then if [[ -z "$wm_theme" ]] || ((wm_theme == 1)); then
wm_theme="Blue" wm_theme="Blue"
else else
wm_theme="Graphite" wm_theme="Graphite"
......
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