Remove unnecessary -i grep flag from wm ps

This commit is contained in:
Ryan Hanson 2019-08-07 09:46:32 -04:00 committed by GitHub
parent 4548c56ee7
commit eb5cf17fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ;;