#!/bin/sh bookmark="$(wl-copy -o)" file="~/.local/share/bookmarks" echo "$bookmark" >> "$file"