Merge pull request #1300 from rxhanson/master
WM: Add support for Rectangle on macOS
This commit is contained in:
commit
1345c3d268
9
neofetch
9
neofetch
|
@ -1632,7 +1632,13 @@ get_wm() {
|
|||
else
|
||||
case "$os" in
|
||||
"Mac OS X")
|
||||
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hun[k]wm\|[y]abai')"
|
||||
ps_line="$(ps -e | grep -o \
|
||||
-e "[S]pectacle" \
|
||||
-e "[A]methyst" \
|
||||
-e "[k]wm" \
|
||||
-e "[c]hun[k]wm" \
|
||||
-e "[y]abai" \
|
||||
-e "[R]ectangle")"
|
||||
|
||||
case "$ps_line" in
|
||||
*"chunkwm"*) wm="chunkwm" ;;
|
||||
|
@ -1640,6 +1646,7 @@ get_wm() {
|
|||
*"yabai"*) wm="yabai" ;;
|
||||
*"Amethyst"*) wm="Amethyst" ;;
|
||||
*"Spectacle"*) wm="Spectacle" ;;
|
||||
*"Rectangle"*) wm="Rectangle" ;;
|
||||
*) wm="Quartz Compositor" ;;
|
||||
esac
|
||||
;;
|
||||
|
|
Reference in New Issue