Added hardcoded DE detection for OS X

This commit is contained in:
Dylan
2016-03-31 20:26:20 +11:00
parent a506eb44a3
commit ea2482c7d7
2 changed files with 7 additions and 2 deletions

View File

@@ -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
}
# }}}