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
|
||||
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"
|
||||
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')"
|
||||
|
||||
case "$ps_line" in
|
||||
*"kwm"*) wm="Kwm" ;;
|
||||
*"Amethyst"*) wm="Amethyst" ;;
|
||||
*"Spectacle"*) wm="Spectacle" ;;
|
||||
*) wm="Quartz Compositor" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
"Windows")
|
||||
|
|
Reference in New Issue