dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

surfraw-searx.cgi (276B)


      1 #!/bin/sh
      2 # Read query for Searx, save target URL to /tmp/w3m_target_url
      3 query="$(fzf --print-query --prompt="Searx >> Search: " --info=hidden --layout=reverse </dev/null)"
      4 
      5 # I want to word split here
      6 # shellcheck disable=SC2086
      7 surfraw -p searx $query > /tmp/w3m_target_url