1
0
Fork 0

some cleanup

This commit is contained in:
Von Random 2015-06-27 18:12:44 +03:00
parent 233ba33ec7
commit 5e70c95984
12 changed files with 0 additions and 41 deletions

View file

@ -1,15 +0,0 @@
#!/bin/sh
get_bookmarks() {
while read url title; do
echo "$url"
done < "$HOME/.config/bookmarks"
}
main() {
uri=$(get_bookmarks | /home/von/.config/bspwm/bspmenu -p 'url' "$@")
[ "$uri" ] && { sx-open "$uri"; }
echo "$uri"
}
main "$@"