summaryrefslogtreecommitdiffstats
path: root/.local/bin/displayselect
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-11 10:03:33 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-11 10:03:33 -0400
commit080365dd22b967274833f50a5cd0cccc0790a658 (patch)
treeac187a4c8e8d29a34092e64ed0650d6c79ee35bc /.local/bin/displayselect
parent7b9277ae0b061af6890786a9149b7e26aa380e2b (diff)
downloadeibhear-080365dd22b967274833f50a5cd0cccc0790a658.tar.gz
eibhear-080365dd22b967274833f50a5cd0cccc0790a658.tar.zst
eibhear-080365dd22b967274833f50a5cd0cccc0790a658.zip
pgrep is a little slow, slower than ps | grep
Diffstat (limited to '.local/bin/displayselect')
-rwxr-xr-x.local/bin/displayselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/displayselect b/.local/bin/displayselect
index c0e3479..b2e0075 100755
--- a/.local/bin/displayselect
+++ b/.local/bin/displayselect
@@ -69,4 +69,4 @@ esac
setbg # Fix background if screen size/arangement has changed.
remaps # Re-remap keys if keyboard added (for laptop bases)
-pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen
+{ killall dunst ; setsid dunst & } >/dev/null 2>&1 # Restart dunst to ensure proper location on screen