From 00075482e3a7da8f0d85245f2ca79447a3bcb661 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> Date: Mon, 27 Jul 2020 13:04:33 +0200 Subject: Update README.md Shellcheck: better to use pgrep instead of grepping ps output --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 573316a..5e7c3c8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If a class isn't available (such as with xev) then the command of origin can be Place bspswallow into your PATH and add the following line to your bspwmrc. ``` -(ps x | grep bspswallow | grep -v grep) || bspswallow & +pgrep bspswallow || bspswallow & ``` Now just restart bspwm and you're good to go. -- cgit v1.2.3