From 9bdbabbab7b67f1111f6ea5a97cb2494c3dc9c40 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 14 Jun 2014 21:14:59 +0200 Subject: [PATCH] herbstluftwm/autostart: fix timeout of notify() If dzen2 was installed it hung the window manager because it waited for the timeout in the foreground! --- herbstluftwm/autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.1