blob: 2033348d5c4dfaf4d0a2bee362865220218a0282 (
plain)
1
2
3
4
5
6
7
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
|