mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
Modify 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 -e | grep '[k]wm')" ]] && wm="Kwm"
|
ps -e | grep -F -q "kwm" && wm="Kwm"
|
||||||
;;
|
;;
|
||||||
"Windows")
|
"Windows")
|
||||||
wm="$(tasklist | grep -m 1 -o -F -e "bugn" -e "Windawesome" -e "blackbox" -e "emerge" -e "litestep")"
|
wm="$(tasklist | grep -m 1 -o -F -e "bugn" -e "Windawesome" -e "blackbox" -e "emerge" -e "litestep")"
|
||||||
|
Reference in New Issue
Block a user