dotfiles/scripts/bookmarksWaylandWofi.sh
2024-11-30 21:52:04 +01:00

7 lines
206 B
Bash
Executable file

#!/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