You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
252 B

#!/usr/bin/env sh
pidof svkbd-sxmo || svkbd-sxmo &
SEARCHQUERY="$(
echo "Close Menu" | dmenu -p "Search Query:" -c -fn "Terminus-20" -l 20
)"
pkill svkbd-sxmo
[ "Close Menu" = $SEARCHQUERY ] && exit 0
surf "https://duckduckgo.com/?q=${SEARCHQUERY}"