summaryrefslogtreecommitdiff
path: root/dwm-6.3/scripts/dwm-goto
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-04-29 16:10:23 -0500
committerstkhan <personal@slickd.xyz>2022-04-29 16:10:23 -0500
commitd4b3ef6f2d1aa93f2e73f371f49efc78d712db45 (patch)
tree22f7ce4972e3838f90783c588217a09d3a502400 /dwm-6.3/scripts/dwm-goto
parented7f420ff0f7fd71b0ed36ace22deb7f7c41e0e0 (diff)
Updated surf, new theme
Diffstat (limited to 'dwm-6.3/scripts/dwm-goto')
-rwxr-xr-xdwm-6.3/scripts/dwm-goto8
1 files changed, 8 insertions, 0 deletions
diff --git a/dwm-6.3/scripts/dwm-goto b/dwm-6.3/scripts/dwm-goto
new file mode 100755
index 0000000..2033348
--- /dev/null
+++ b/dwm-6.3/scripts/dwm-goto
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+URL=$(cat ~/.config/surf/history.txt | sed 's/^[^ *]* //' | sort -u | dmenu -p "Enter a URL: ")
+CMD="firejail --noprofile --hosts-file=~/.config/surf/ads.txt tabbed -dn tabbed-surf -r 2 surf -e '' $URL"
+
+# saves url to history
+echo $URL >> ~/.config/surf/history.txt
+$CMD