diff options
| author | Stein Gunnar Bakkeby <[email protected]> | 2021-10-15 18:34:41 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-15 18:34:41 +0200 |
| commit | ce270a320e1a5ca1eeda858d475b9d85784f3f42 (patch) | |
| tree | 7041dd957c59f5ecca58acea3c1c122787a31f58 /patch | |
| parent | e68f434944dee17aa1654c2a2de59d67565cba64 (diff) | |
| parent | e39062e543a80d08fb9b8777c8f57c8b9849f16d (diff) | |
| download | dwm-flexipatch-ce270a320e1a5ca1eeda858d475b9d85784f3f42.tar.gz dwm-flexipatch-ce270a320e1a5ca1eeda858d475b9d85784f3f42.zip | |
Merge pull request #190 from UtkarshVerma/dwmblocks
Use 'pgrep -o' instead of 'pidof -s' to get the PID of status bar
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/bar_dwmblocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_dwmblocks.c b/patch/bar_dwmblocks.c index 25268c5..fe7880b 100644 --- a/patch/bar_dwmblocks.c +++ b/patch/bar_dwmblocks.c @@ -18,7 +18,7 @@ getstatusbarpid() return statuspid; } } - if (!(fp = popen("pidof -s "STATUSBAR, "r"))) + if (!(fp = popen("pgrep -o "STATUSBAR, "r"))) return -1; fgets(buf, sizeof(buf), fp); pclose(fp); |
