Merge pull request #589 from mstraube/syntax

General: Fix arithmetic expression
This commit is contained in:
Herdiansyah 2017-01-03 19:40:36 +07:00 committed by GitHub
commit 6057b8c7fb
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ get_wm_theme() {
"Quartz Compositor")
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"
else
wm_theme="Graphite"