From a98ac34e479b4beeff29126b1abbedf5b5a71d1d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 20 Feb 2021 17:09:41 -0300 Subject: Add minimalistic notifications with xmobar --- scripts/notify | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/notify (limited to 'scripts/notify') diff --git a/scripts/notify b/scripts/notify new file mode 100755 index 00000000..984c7ac4 --- /dev/null +++ b/scripts/notify @@ -0,0 +1,10 @@ +#!/bin/sh +set -eu + +# Derived from: +# https://unix.stackexchange.com/questions/61205/how-to-supress-the-display-of-previous-job-details +( ( + echo "$1" > ~/.cache/euandreh/xmobar-notifications.txt + sleep 10 + echo "" > ~/.cache/euandreh/xmobar-notifications.txt +) &) -- cgit v1.3