From 2a0972655f1aa91b721f016ed764962eff7668c0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2019 18:56:58 -0300 Subject: Notify awesome at xclip-clean --- xclip-clean | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xclip-clean b/xclip-clean index fff98a1..cabb79a 100755 --- a/xclip-clean +++ b/xclip-clean @@ -3,4 +3,9 @@ # Clipboard cleaner # -echo $RANDOM | xclip +# Parameters +CONTENT="$RANDOM" + +# Dispatch +echo $CONTENT | xclip +echo "naughty.notify({title = \"New clipboard content:\", text =\"$CONTENT\", timeout = 2})" | awesome-client -- cgit v1.2.3