major springcleaning

This commit is contained in:
2023-10-12 15:12:12 +02:00
parent 648a010f64
commit 98b48cb97b
332 changed files with 6708 additions and 10208 deletions

View File

@ -1,12 +1,10 @@
#!/bin/sh
# Gives a dmenu prompt to search DuckDuckGo.
# Without input, will open DuckDuckGo.com.
# Gives a dmenu prompt to searx
# Without input, will open mainpage.
# URLs will be directly handed to the browser.
# Anything else, it search it.
mainpage="https://duckduckgo.com"
searchpage="https://duckduckgo.com/?q=%s"
mainpage="https://bocken.org/searx"
searchpage="https://bocken.org/searx/search?q=%s"
browser=${BROWSER:-firefox}
if [ -z "$(xclip -o -selection clipboard)" ]; then
choice=$(printf "🔍\n" | dmenu -i -p "Searx:") || exit 1
else