configuration form the arch linux stored
This commit is contained in:
14
rofi/scripts/web-search.sh
Executable file
14
rofi/scripts/web-search.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
query=$( (echo ) | rofi -dmenu -i -lines 0 -matching fuzzy -location 0 -p " " )
|
||||
|
||||
if [[ -n "$query" ]]; then
|
||||
# https://scholar.google.com/scholar?hl=en&q=
|
||||
# url=https://www.duckduckgo.com/?q=$query
|
||||
url=https://search.brave.com/search?q=$query
|
||||
xdg-open "$url"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user