dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 5da941e03d21b9b249ece538bffff522e140d2c3
parent d69d2c4d230748f725cc7f0ee36b96948a316a2f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 28 Feb 2020 10:42:10 +0100

Add wrapper for plumbing clipboard contents

Diffstat:
A.local/bin/clipplumb | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.local/bin/clipplumb b/.local/bin/clipplumb @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$1" = "-c" ]; then + xclip -o -selection clipboard | plumb +else + xclip -o | plumb +fi