You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.0 KiB
Bash
24 lines
1.0 KiB
Bash
#!/bin/bash
|
|
# _ _ _ _
|
|
# __ _ ___ | |_| |__ | | ___| |_ _ _
|
|
# / _` |/ _ \| __| '_ \| |/ _ \ __| | | |
|
|
#| (_| | (_) | |_| |_) | | __/ |_| |_| |
|
|
# \__, |\___/ \__|_.__/|_|\___|\__|\__,_|
|
|
# |___/
|
|
# https://www.youtube.com/user/gotbletu
|
|
# https://twitter.com/gotbletu
|
|
# https://plus.google.com/+gotbletu
|
|
# https://github.com/gotbletu
|
|
# gotbleu@gmail.com
|
|
|
|
# info: rofi-surfraw-websearch is a script to do internet searches from different websites, all from the rofi launcher
|
|
# requirements: rofi surfraw
|
|
# playlist: rofi https://www.youtube.com/playlist?list=PLqv94xWU9zZ0LVP1SEFQsLEYjZC_SUB3m
|
|
# surfraw https://www.youtube.com/playlist?list=PLqv94xWU9zZ2e-lDbmBpdASA6A6JF4Nyz
|
|
|
|
# set your browser (uncomment if needed, some GUI does not detect browser variable)
|
|
# BROWSER=firefox
|
|
|
|
surfraw -browser=$BROWSER $(sr -elvi | awk -F'-' '{print $1}' | sed '/:/d' | awk '{$1=$1};1' | rofi -kb-row-select "Tab" -kb-row-tab "Control+space" -dmenu -mesg ">>> Tab = Autocomplete" -i -p "rofi-surfraw-websearch: ")
|
|
|