From b9fa49fead00fbfd2854f1ecd2e2db461712e729 Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Wed, 6 Jan 2021 12:36:16 -0700 Subject: [fix] Make termux clipboard not so noisy --- base/otp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/otp b/base/otp index 5bd835a..d6ef59e 100755 --- a/base/otp +++ b/base/otp @@ -40,13 +40,13 @@ X_SELECTION="${PASSWORD_STORE_X_SELECTION:-clipboard}" getclip() { [[ -n "$CLIP" ]] || return 0 - if command -v termux-clipboard-get; then termux-clipboard-get + if command -v termux-clipboard-get; then termux-clipboard-get &>/dev/null else xclip -o -selection "$X_SELECTION"; fi } setclip() { [[ -n "$CLIP" ]] || return 0 - if command -v termux-clipboard-set; then termux-clipboard-set + if command -v termux-clipboard-set; then termux-clipboard-set &>/dev/null else xclip -selection "$X_SELECTION"; fi } -- cgit v1.2.3-70-g09d2