From: Simon Ruderich Date: Sat, 14 Jun 2014 19:14:59 +0000 (+0200) Subject: herbstluftwm/autostart: fix timeout of notify() X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=9bdbabbab7b67f1111f6ea5a97cb2494c3dc9c40 herbstluftwm/autostart: fix timeout of notify() If dzen2 was installed it hung the window manager because it waited for the timeout in the foreground! --- diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 1fbb591..0cbecf4 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -30,7 +30,7 @@ installed() { # $1: timeout notify() { if installed dzen2; then - sed 's/\^/^^/g' | dzen2 -fg blue -bg yellow -y 15 -h 30 -p "$1" + sed 's/\^/^^/g' | dzen2 -fg blue -bg yellow -y 15 -h 30 -p "$1" & elif installed xmessage; then # Fallback solution, display first line of stdin. read x