Remove unnecessary -i grep flag from wm ps
This commit is contained in:
parent
4548c56ee7
commit
eb5cf17fdb
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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" ;;
|
||||
|
|
Loading…
Reference in a new issue