diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-10 01:53:50 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-10 01:53:50 +0200 |
commit | 904cd8797e093003119d8c4a44788a70a82acdae (patch) | |
tree | ad564d899ce271038b022ef43de02b3b7f908949 /bin | |
parent | f325856737593a4f97871bace6a456d8299f6e18 (diff) | |
download | dzen2-config-904cd8797e093003119d8c4a44788a70a82acdae.tar.gz dzen2-config-904cd8797e093003119d8c4a44788a70a82acdae.tar.xz dzen2-config-904cd8797e093003119d8c4a44788a70a82acdae.zip |
dzen2_pgrp: Kill main even if xrandr-notify is killed
Diffstat (limited to 'bin')
-rw-r--r-- | bin/dzen2_pgrp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dzen2_pgrp.sh b/bin/dzen2_pgrp.sh index 3a74831..d94cfe7 100644 --- a/bin/dzen2_pgrp.sh +++ b/bin/dzen2_pgrp.sh @@ -34,7 +34,7 @@ cat $* | $DZEN2 -xs ${SCREEN} -x 0 -w ${OFFSET} -ta l -fn "${FONT}" -bg black -e MAIN=$! # kill bars on new RandR config -( ${DIR}/bin/xrandr-notify && kill ${MAIN} ) & +( ${DIR}/bin/xrandr-notify ; kill ${MAIN} ) & wait $MAIN |