Make close menu entry in scripts more functional
This commit is contained in:
parent
f4aea53ad1
commit
34cd1fd5bb
3 changed files with 15 additions and 7 deletions
|
@ -4,6 +4,8 @@ SEARCHQUERY="$(
|
|||
echo "Close Menu" | dmenu -t -p "Search Query:" -c -fn "Terminus-20" -l 20
|
||||
)"
|
||||
pkill svkbd-sxmo
|
||||
[ "Close Menu" = "$SEARCHQUERY" ] && exit 0
|
||||
|
||||
echo "$SEARCHQUERY" | grep . || exit 0
|
||||
|
||||
$BROWSER "https://duckduckgo.com/?q=${SEARCHQUERY}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue