dotfiles/scripts/bookmarksWaylandWofi.sh

8 lines
206 B
Bash
Raw Normal View History

2024-11-30 21:52:04 +01:00
#!/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