Prompt to open up your browser with a provided search.
This commit is contained in:
parent
9ce1022f33
commit
7b4dfbeb4c
11
dmenu-browser
Executable file
11
dmenu-browser
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Scrit to open my browser with a specified search term taken from dmenu prompt
|
||||
|
||||
. ~/.config/dmenu/config
|
||||
|
||||
search=$(printf '%s' | $DMENU -p "Enter search term: ")
|
||||
|
||||
[ -z $search ] && exit 1
|
||||
|
||||
$BROWSER "http://searx.cronyakatsuki.xyz/search?q=$search"
|
Loading…
Reference in New Issue
Block a user