Merge pull request #658 from jorgegonzalez/master
WM: Add support for Kwm on macOS
This commit is contained in:
commit
0dea3ba495
1 changed files with 4 additions and 1 deletions
5
neofetch
5
neofetch
|
@ -629,7 +629,10 @@ get_wm() {
|
|||
|
||||
else
|
||||
case "$os" in
|
||||
"Mac OS X") wm="Quartz Compositor" ;;
|
||||
"Mac OS X")
|
||||
wm="Quartz Compositor"
|
||||
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")"
|
||||
[[ "$wm" == "blackbox" ]] && wm="bbLean (Blackbox)"
|
||||
|
|
Loading…
Reference in a new issue