From d0975b24361f7ad9bf2732fffd35e6b0234de817 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Tue, 3 Jan 2017 13:28:05 +0100 Subject: [PATCH] General: Fix arithmetic expression --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 5cce848c..162bdb08 100755 --- a/neofetch +++ b/neofetch @@ -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"