dmenu-scripts/dmenu-browser

12 lines
260 B
Plaintext
Raw Permalink Normal View History

#!/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"