sclip

shitty clipboard
git clone git://git.ckyln.com/~cem/sclip.git
Log | Files | Refs | README | LICENSE

README (728B)


      1 sclip
      2 =====
      3 
      4 dumb clipboard manager with 10 lines 
      5 of POSIX shell code (excluding whitespace)
      6 
      7 
      8 Features
      9 --------
     10 
     11 * Pipe into sclip to add text to clipboard
     12 * Can pipe the text being copied to stdout
     13 * Very scriptable
     14 * Literally shorter than this README
     15 * Works both in X and TTY
     16 
     17 
     18 Non-Features
     19 -------------
     20 
     21 * Does not use a complex buffer, writes into a file
     22 * Does not integrate with the selection and 
     23     clipboard defined by the Free Desktop Specification
     24 
     25 
     26 Usage Examples
     27 --------------
     28 
     29 
     30 [create a dmenu after copying text]
     31 
     32   $ printf "list item 1\\nlist item 2\\n" | sclip -o | dmenu
     33 
     34 
     35 [copy sclip to xclip or vice versa]
     36 
     37   $ sclip -p | xclip -selection clipboard
     38   $ xclip -out | sclip
     39 
     40 
     41 Author
     42 ------
     43 Cem Keylan