dotfiles

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

searx-query.cgi (229B)


      1 #!/bin/sh
      2 # Search contents of /tmp/w3m_query with searx
      3 [ -f /tmp/w3m_query ] || exit
      4 q="$(cat /tmp/w3m_query)"
      5 printf "%s\r\nw3m-control: DELETE_PREVBUF\r\n" "w3m-control: GOTO https://search.alex.balgavy.eu/searx/search?q=$q"