Commit 13bdcc1e authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #785 from dominiklohmann/patch-1

Add support for chunkwm (macOS window manager)
parents 0a5a741e 5f395732
...@@ -682,10 +682,11 @@ get_wm() { ...@@ -682,10 +682,11 @@ get_wm() {
else else
case "$os" in case "$os" in
"Mac OS X") "Mac OS X")
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')" ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hunkwm')"
case "$ps_line" in case "$ps_line" in
*"kwm"*) wm="Kwm" ;; *"kwm"*) wm="Kwm" ;;
*"chunkwm"*) wm="chunkwm" ;;
*"Amethyst"*) wm="Amethyst" ;; *"Amethyst"*) wm="Amethyst" ;;
*"Spectacle"*) wm="Spectacle" ;; *"Spectacle"*) wm="Spectacle" ;;
*) wm="Quartz Compositor" ;; *) wm="Quartz Compositor" ;;
......
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