Full if
→ single line for macOS Light theme
This commit is contained in:
parent
eb062afe95
commit
279a1e58bc
1 changed files with 1 additions and 3 deletions
4
neofetch
4
neofetch
|
@ -930,9 +930,7 @@ get_wm_theme() {
|
|||
wm_theme="$(PlistBuddy -c "Print AppleInterfaceStyle" "$global_preferences")"
|
||||
wm_theme_color="$(PlistBuddy -c "Print AppleAquaColorVariant" "$global_preferences")"
|
||||
|
||||
if [[ -z "$wm_theme" ]]; then
|
||||
wm_theme="Light"
|
||||
fi
|
||||
[[ -z "$wm_theme" ]] && wm_theme="Light"
|
||||
|
||||
if [[ -z "$wm_theme_color" ]] || ((wm_theme_color == 1)); then
|
||||
wm_theme_color="Blue"
|
||||
|
|
Loading…
Reference in a new issue