aboutsummaryrefslogtreecommitdiff
path: root/notify_x11.go
diff options
context:
space:
mode:
Diffstat (limited to 'notify_x11.go')
-rw-r--r--notify_x11.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/notify_x11.go b/notify_x11.go
new file mode 100644
index 0000000..f698be1
--- /dev/null
+++ b/notify_x11.go
@@ -0,0 +1,9 @@
+// +build !darwin
+
+package main
+
+import "os/exec"
+
+func notify(s string) error {
+ return exec.Command("xmessage", "-center", "-timeout", "5", s).Run()
+}