Merge pull request #665 from jorgegonzalez/master

WM: Add support for Spectacle on macOS
This commit is contained in:
Dylan Araps 2017-03-02 12:41:35 +11:00 committed by GitHub
commit c9d14c2dbe
1 changed files with 1 additions and 0 deletions

View File

@ -631,6 +631,7 @@ get_wm() {
case "$os" in
"Mac OS X")
wm="Quartz Compositor"
ps -e | grep -q '[S]pectacle' && wm='Spectacle'
ps -e | grep -q "[k]wm" && wm="Kwm"
;;