summaryrefslogtreecommitdiff
path: root/.local/bin/notifyd
blob: ddd59714f8023fa936df706e151907664b72fdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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