Merge pull request #834 from tokamach/master
tiny fix for WM always being detected as Kwm on macOS
This commit is contained in:
commit
133e7bdc0c
2
neofetch
2
neofetch
|
@ -706,7 +706,7 @@ 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\|[c]hunkwm')"
|
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hun[k]wm')"
|
||||||
|
|
||||||
case "$ps_line" in
|
case "$ps_line" in
|
||||||
*"kwm"*) wm="Kwm" ;;
|
*"kwm"*) wm="Kwm" ;;
|
||||||
|
|
Reference in New Issue