diff options
Diffstat (limited to 'bookmark-clip')
| -rwxr-xr-x | bookmark-clip | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bookmark-clip b/bookmark-clip index 57b14c7..e9e5df4 100755 --- a/bookmark-clip +++ b/bookmark-clip @@ -9,8 +9,6 @@ notify() { [ "$has_notify" = 1 ] && notify-send -u "$1" "bookmark" "$2" || true; # Primary selection first, fall back to clipboard bookmark="$(xclip -o -selection primary 2>/dev/null || true)" -[ -z "$bookmark" ] && bookmark="$(xclip -o -selection clipboard 2>/dev/null || true)" - bookmark="$(printf '%s' "$bookmark" | sed 's/[[:space:]]\+$//')" if [ -z "$bookmark" ]; then |
