summaryrefslogtreecommitdiff
path: root/dwm-6.3/scripts/dwm-search
diff options
context:
space:
mode:
Diffstat (limited to 'dwm-6.3/scripts/dwm-search')
-rwxr-xr-xdwm-6.3/scripts/dwm-search14
1 files changed, 0 insertions, 14 deletions
diff --git a/dwm-6.3/scripts/dwm-search b/dwm-6.3/scripts/dwm-search
deleted file mode 100755
index ff49fc7..0000000
--- a/dwm-6.3/scripts/dwm-search
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-QUERY=$(tac ~/.config/surf/search.txt | sort -u | dmenu -l 20 -p "Search DuckDuckGo: ")
-SEARCH=$(echo $QUERY | sed 's/ /+/g; s/-e//')
-URL="duckduckgo.com/?q=$SEARCH"
-CMD="firejail --noprofile --hosts-file=~/.config/surf/ads.txt tabbed -dn tabbed-surf -r 2 surf -e '' $URL"
-
-if [[ -z "$SEARCH" ]]; then
- exit
-else
- # saves search to history
- echo $QUERY | sed 's/-e//' >> ~/.config/surf/search.txt
- $CMD
-fi