Skip to content

Commit

Permalink
fix (Hyde show bookmarks): Wrote a wrong variable instead of
Browse files Browse the repository at this point in the history
  • Loading branch information
kRHYME7 committed Jun 22, 2024
1 parent bf49305 commit ab292b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Launch-Bookmarks
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@ save_recent "$(jq -c --argjson index "$index" -cr '.[$index - 1] | "\(.title) |\

#* Use index and open url
url=$(jq -c --argjson index "$index" -cr ' .[$index - 1] | .url' <<<$mainJson)
[ -n "${BROWSER}" ] && "${BROWSER}" "${SITES[$site]}$query" && exit 0
xdg-open "${url}" || notify-send "Cannot accessing '$url'"
{ [ -n "${BROWSER}" ] && "${BROWSER}" "${url}" ;} || xdg-open "${url}" || notify-send "Cannot accessing '$url'"

0 comments on commit ab292b9

Please sign in to comment.