diff options
Diffstat (limited to 'dwm-6.3/scripts/dwm-goto')
| -rwxr-xr-x | dwm-6.3/scripts/dwm-goto | 8 |
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 |