8 lines
286 B
Bash
Executable file
8 lines
286 B
Bash
Executable file
#!/bin/bash
|
|
[[ ! -f ~/.bookmarks ]] && touch ~/.bookmarks/bookmarks
|
|
|
|
dupa=$(awk '{print $1}' ~/.bookmarks/bookmarks | dmenu -l 15 -p "Bookmarks")
|
|
|
|
while read p; do
|
|
[[ $(echo $p | awk '{print $1}') == $dupa ]] && xdotool type $(echo $p | awk '{print $2}')
|
|
done < ~/.bookmarks/bookmarks
|