summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-08-21 21:45:57 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-08-21 21:45:57 -0400
commitc2e463cf2f120c6e5abf17c780312406dcbafe6c (patch)
tree7ff42148716bdf7a000b7b38b5536089e66a92d3 /.local
parenta522f9b78d4d364e61b39b35ed78a12dcef89b8c (diff)
wmii continue redo-ing config
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/notifyd14
1 files changed, 14 insertions, 0 deletions
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