Unverified Commit eb5cf17f authored by Ryan Hanson's avatar Ryan Hanson Committed by GitHub

Remove unnecessary -i grep flag from wm ps

parent 4548c56e
...@@ -1642,7 +1642,7 @@ get_wm() { ...@@ -1642,7 +1642,7 @@ get_wm() {
regex_part=$( IFS='|'; echo "${wm_names[*]}" ) 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 case "$ps_line" in
*"chunkwm"*) wm="chunkwm" ;; *"chunkwm"*) wm="chunkwm" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment