mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
General: Fix arithmetic expression
This commit is contained in:
2
neofetch
2
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"
|
||||
|
Reference in New Issue
Block a user