Commit 279a1e58 authored by Joseph Durel's avatar Joseph Durel

Full `if` → single line for macOS Light theme

parent eb062afe
...@@ -930,9 +930,7 @@ get_wm_theme() { ...@@ -930,9 +930,7 @@ get_wm_theme() {
wm_theme="$(PlistBuddy -c "Print AppleInterfaceStyle" "$global_preferences")" wm_theme="$(PlistBuddy -c "Print AppleInterfaceStyle" "$global_preferences")"
wm_theme_color="$(PlistBuddy -c "Print AppleAquaColorVariant" "$global_preferences")" wm_theme_color="$(PlistBuddy -c "Print AppleAquaColorVariant" "$global_preferences")"
if [[ -z "$wm_theme" ]]; then [[ -z "$wm_theme" ]] && wm_theme="Light"
wm_theme="Light"
fi
if [[ -z "$wm_theme_color" ]] || ((wm_theme_color == 1)); then if [[ -z "$wm_theme_color" ]] || ((wm_theme_color == 1)); then
wm_theme_color="Blue" wm_theme_color="Blue"
......
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