diff options
author | Alexis Hovorka <[email protected]> | 2021-01-06 12:36:16 -0700 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2021-01-06 12:36:16 -0700 |
commit | b9fa49fead00fbfd2854f1ecd2e2db461712e729 (patch) | |
tree | b26977a9d13089ca7740e78f3b5d976dd5683d52 | |
parent | 535603b8d82e349a010b2f5532198a04d8b9f14a (diff) |
[fix] Make termux clipboard not so noisy
-rwxr-xr-x | base/otp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |