summaryrefslogtreecommitdiff
path: root/dwm-6.3/scripts/dwm-search
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-05-13 18:15:43 +0000
committerstkhan <personal@slickd.xyz>2022-05-13 18:15:43 +0000
commit2e81fbdf15168a5b6df291b7062d120156a5ce45 (patch)
tree57de36552c6f46e43d8520ccf65acb80ef5f6c29 /dwm-6.3/scripts/dwm-search
parent7a93f153bf5e088ab6e2da6fcc0518744cfd54af (diff)
Removed dwm scripts, sfm, , added scroll, and added dark theme to surf
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