pgrep is a little slow, slower than ps | grep

This commit is contained in:
Luke Smith
2020-04-11 10:03:33 -04:00
parent 7b9277ae0b
commit 080365dd22
6 changed files with 7 additions and 7 deletions

View File

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