diff --git a/1.6.md b/1.6.md index 4ac7857d..28a61eb3 100644 --- a/1.6.md +++ b/1.6.md @@ -85,6 +85,9 @@ This is much faster than the default method. **Theme**
- Use `$GTK2_RC_FILES` if the envar is set. **[@onespaceman](https://github.com/onespaceman)** +**Desktop Environment**
+- Added OS X detection. + **Song**
- [ MPD ] Fixed function when mpd is running on another PC and not your own. - Song now displays `Not Playing` instead of `Unknown` when no music player is found. diff --git a/neofetch b/neofetch index d0fb8d65..4f1d03ad 100755 --- a/neofetch +++ b/neofetch @@ -769,9 +769,11 @@ getshell () { # }}} # Desktop Environment {{{ - getde () { - de="${XDG_CURRENT_DESKTOP/i3}" + case "$os" in + "Mac OS X") de="Aqua" ;; + *) de="${XDG_CURRENT_DESKTOP/i3}" ;; + esac } # }}}