Merge pull request #676 from jorgegonzalez/master
WM: Add support for Amethyst on macOS
This commit is contained in:
commit
18143b4be2
11
neofetch
11
neofetch
|
@ -636,9 +636,14 @@ get_wm() {
|
||||||
else
|
else
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
wm="Quartz Compositor"
|
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')"
|
||||||
ps -e | grep -q '[S]pectacle' && wm='Spectacle'
|
|
||||||
ps -e | grep -q "[k]wm" && wm="Kwm"
|
case "$ps_line" in
|
||||||
|
*"kwm"*) wm="Kwm" ;;
|
||||||
|
*"Amethyst"*) wm="Amethyst" ;;
|
||||||
|
*"Spectacle"*) wm="Spectacle" ;;
|
||||||
|
*) wm="Quartz Compositor" ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows")
|
"Windows")
|
||||||
|
|
Reference in New Issue