summaryrefslogtreecommitdiff
path: root/scripts/.scripts/websearch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-09 22:58:10 +0100
committerdavidovski <david@davidovski.xyz>2021-10-09 22:58:10 +0100
commit49fff5a029e08f31941c75c19a72d7e7eb1ed172 (patch)
tree9cab74542e7302f47a9b8efbe5b1c674f9eb2150 /scripts/.scripts/websearch
parent26d3e9c0db0b8591eba24de5437b3c75d9995064 (diff)
fixed scripts
Diffstat (limited to 'scripts/.scripts/websearch')
-rwxr-xr-xscripts/.scripts/websearch14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/.scripts/websearch b/scripts/.scripts/websearch
deleted file mode 100755
index 996ddc3..0000000
--- a/scripts/.scripts/websearch
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-
-SEARCH_ENGINE="https://search.brave.com/search?q="
-SEARCH_HISTORY=/tmp/.search_history
-
-SEARCH=$(cat $SEARCH_HISTORY | dmenu -p "search")
-
-touch $SEARCH_HISTORY
-
-cat <<< "$SEARCH
-$(cat $SEARCH_HISTORY)" > $SEARCH_HISTORY
-
-brave "$SEARCH_ENGINE$SEARCH"