diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-06-06 18:56:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-06-06 18:56:58 -0300 |
commit | 2a0972655f1aa91b721f016ed764962eff7668c0 (patch) | |
tree | 500eab80488b4fb5292a54af3a0f8b28afd706bb | |
parent | a81d8fc23cd76216604b6f0a86ff7ae40a84de85 (diff) | |
download | utils-x11-2a0972655f1aa91b721f016ed764962eff7668c0.tar.gz utils-x11-2a0972655f1aa91b721f016ed764962eff7668c0.tar.bz2 |
Notify awesome at xclip-clean
-rwxr-xr-x | xclip-clean | 7 |
1 files changed, 6 insertions, 1 deletions
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 |