mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Do not open random entries if not on the query
This commit is contained in:
parent
f51d7451cb
commit
c9ad701e63
@ -81,6 +81,7 @@ edit_bookmark() {
|
|||||||
|
|
||||||
open_bookmark() {
|
open_bookmark() {
|
||||||
URL=$(grep "^$SELECTION=" "$URLQUERY_FILE" | cut -d= -f2-)
|
URL=$(grep "^$SELECTION=" "$URLQUERY_FILE" | cut -d= -f2-)
|
||||||
|
[ -z "$URL" ] && notify-send "Bookmark not found." && exit 1
|
||||||
case "$URL" in
|
case "$URL" in
|
||||||
*"search"*|*"wiki"*)
|
*"search"*|*"wiki"*)
|
||||||
QUERY=$(DMENU 0 "Search")
|
QUERY=$(DMENU 0 "Search")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user