aboutsummaryrefslogtreecommitdiff
path: root/xclip-clean
blob: cabb79a6785d63d6ed7078b9a32f3e9bba1f7c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#
# Clipboard cleaner
#

# Parameters
CONTENT="$RANDOM"

# Dispatch
echo $CONTENT | xclip
echo "naughty.notify({title = \"New clipboard content:\", text =\"$CONTENT\", timeout = 2})" | awesome-client