mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 11:39:53 +00:00
Merge pull request #785 from dominiklohmann/patch-1
Add support for chunkwm (macOS window manager)
This commit is contained in:
3
neofetch
3
neofetch
@@ -682,10 +682,11 @@ get_wm() {
|
||||
else
|
||||
case "$os" in
|
||||
"Mac OS X")
|
||||
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')"
|
||||
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hunkwm')"
|
||||
|
||||
case "$ps_line" in
|
||||
*"kwm"*) wm="Kwm" ;;
|
||||
*"chunkwm"*) wm="chunkwm" ;;
|
||||
*"Amethyst"*) wm="Amethyst" ;;
|
||||
*"Spectacle"*) wm="Spectacle" ;;
|
||||
*) wm="Quartz Compositor" ;;
|
||||
|
||||
Reference in New Issue
Block a user