#!/bin/sh [[ ! -f ~/.bookmarks ]] && touch ~/.bookmarks dupa=$(awk '{print $1}' ~/.bookmarks | wofi --lines 15 --show dmenu) x=$(cat ~/.bookmarks | grep $dupa | awk '{print $2}') echo "type $x" | dotool