Modify ps line
This commit is contained in:
parent
c583d06780
commit
8c3fef5396
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -631,7 +631,7 @@ get_wm() {
|
|||
case "$os" in
|
||||
"Mac OS X")
|
||||
wm="Quartz Compositor"
|
||||
[[ "$(ps -e | grep '[k]wm')" ]] && wm="Kwm"
|
||||
ps -e | grep -F -q "kwm" && wm="Kwm"
|
||||
;;
|
||||
"Windows")
|
||||
wm="$(tasklist | grep -m 1 -o -F -e "bugn" -e "Windawesome" -e "blackbox" -e "emerge" -e "litestep")"
|
||||
|
|
Loading…
Reference in a new issue