diff --git a/neofetch b/neofetch index 376da939..8e8ca7e1 100755 --- a/neofetch +++ b/neofetch @@ -1642,7 +1642,7 @@ get_wm() { regex_part=$( IFS='|'; echo "${wm_names[*]}" ) - ps_line=$(ps -e | grep -Eio "$regex_part") + ps_line=$(ps -e | grep -Eo "$regex_part") case "$ps_line" in *"chunkwm"*) wm="chunkwm" ;;