Prompt to open up your browser with a provided search.

This commit is contained in:
CronyAkatsuki 2022-12-12 20:11:13 +01:00
parent 9ce1022f33
commit 7b4dfbeb4c

11
dmenu-browser Executable file
View 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"