showclip (222B)
1 #!/bin/sh 2 3 prim=$(xclip -o -selection primary) 4 clip=$(xclip -o -selection clipboard) 5 6 [ -n "$prim" ] && notify "Primary (currently selected text)" "$prim" 7 [ -n "$clip" ] && notify "Clipboard (explicit copy-paste)" "$clip"
dotfilesconfiguration files for shell, text editor, graphical environment, etc. | ||
git clone git://src.adamsgaard.dk/dotfiles # fast git clone https://src.adamsgaard.dk/dotfiles.git # slow | ||
Log | Files | Refs | README | LICENSE | Back to index |