showclip (249B)
#!/bin/bash # small script to inspect clipboard contents CL=$(xclip -o -selection clipboard) PR=$(xclip -o -selection primary) if [ -n "$CL" ]; then notify-send "Clipboard:" "$CL" fi if [ -n "$PR" ]; then notify-send "Primary:" "$PR" fi