mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02: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() {
|
||||
URL=$(grep "^$SELECTION=" "$URLQUERY_FILE" | cut -d= -f2-)
|
||||
[ -z "$URL" ] && notify-send "Bookmark not found." && exit 1
|
||||
case "$URL" in
|
||||
*"search"*|*"wiki"*)
|
||||
QUERY=$(DMENU 0 "Search")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user