From c2e463cf2f120c6e5abf17c780312406dcbafe6c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 21 Aug 2012 21:45:57 -0400 Subject: wmii continue redo-ing config --- .local/bin/notifyd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .local/bin/notifyd (limited to '.local') diff --git a/.local/bin/notifyd b/.local/bin/notifyd new file mode 100755 index 0000000..ddd5971 --- /dev/null +++ b/.local/bin/notifyd @@ -0,0 +1,14 @@ +#!/bin/bash + +connected_to_x_server() { + xdpyinfo &>/dev/null + return $? +} + +start_backend() { + /usr/lib/xfce4/notifyd/xfce4-notifyd +} + +while connected_to_x_server; do + start_backend +done -- cgit v1.2.3