chore: cleanup

This commit is contained in:
2022-05-04 18:55:48 +02:00
parent 7acbafb7fe
commit 29eed372ff
36 changed files with 172 additions and 1138 deletions

33
configs/wofi/scripts/web-search Executable file
View File

@ -0,0 +1,33 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Info:
# author: Miroslav Vidovic
# file: web-search.sh
# created: 24.02.2017.-08:59:54
# revision: ---
# version: 1.0
# -----------------------------------------------------------------------------
# Requirements:
# rofi
# Description:
# Use rofi to search the web.
# Usage:
# web-search.sh
# -----------------------------------------------------------------------------
# Script:
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="$searx$query"
xdg-open "$url"
else
exit
fi
exit 0