mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 12:37:16 +00:00
Fix ps line
This commit is contained in:
2
neofetch
2
neofetch
@@ -631,7 +631,7 @@ get_wm() {
|
|||||||
case "$os" in
|
case "$os" in
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
wm="Quartz Compositor"
|
wm="Quartz Compositor"
|
||||||
ps -x | grep -q '[S]pectacle' && wm='Spectacle'
|
ps -e | grep -q '[S]pectacle' && wm='Spectacle'
|
||||||
ps -e | grep -q "[k]wm" && wm="Kwm"
|
ps -e | grep -q "[k]wm" && wm="Kwm"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user