#!/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 ) &)