feat: archive electricity

This commit is contained in:
2022-04-15 14:52:17 +02:00
parent b5aab4aadb
commit bbdb55ffa4
20 changed files with 376 additions and 302 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
open "http://localhost:$(sed '1,/^### DATA ###$/d' $0 | wofi --show dmenu -i | cut -d ' ' -f 1 | tr -d '\n')"
xdg-open "http://localhost:$(sed '1,/^### DATA ###$/d' $0 | wofi --show dmenu -i | cut -d ' ' -f 1 | tr -d '\n')"
exit
### DATA ###
8000

View File

@ -18,13 +18,13 @@
# Script:
searx="https://searx.tiekoetter.com/search?language=en&time_range=None&safesearch=0&categories=general&q="
searx="https://xzx.ro/search?q="
startpage="https://www.startpage.com/sp/search?q="
query=$( wofi -d -p "Search: " -W 600 -H 100 -k ~/.cache/wofi-web)
if [[ -n "$query" ]]; then
url="$startpage$query"
url="$searx$query"
xdg-open "$url"
else
exit