clipmenu

Simple clipboard management using dmenu
git clone https://git.sinitax.com/cdown/clipmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit eecc03171887f4866f12fd011e50c71b4ffabbc9
parent 19569a81bcefa721d52190d3b893f871ed192718
Author: Chris Down <chris@chrisdown.name>
Date:   Sun, 19 Mar 2017 07:31:01 +0000

Use stderr for xsel logging when detached

Diffstat:
Mclipmenu | 2+-
Mclipmenud | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/clipmenu b/clipmenu @@ -24,5 +24,5 @@ if ! [[ -f "$file" ]]; then fi for selection in clipboard primary; do - xsel --logfile /dev/null -i --"$selection" < "$file" + xsel --logfile /dev/stderr -i --"$selection" < "$file" done diff --git a/clipmenud b/clipmenud @@ -7,7 +7,7 @@ lock_file=$cache_dir/lock lock_timeout=2 _xsel() { - timeout 1 xsel --logfile /dev/null "$@" + timeout 1 xsel --logfile /dev/stderr "$@" } get_first_line() {