summaryrefslogtreecommitdiff
path: root/bin/select-url
blob: cd94e65417ce95bdf9f71911b2ac0f1ffe389240 (plain)
1
2
3
4
5
6
7
#!/bin/sh -e

grep -Eo '\bhttps?://\S+\b' |
    uniq |
    ifne rofi -dmenu -i -p "Open URL" -auto-select |
    xargs xdg-open