summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rwxr-xr-xdwm-6.3/scripts/dwm-goto4
2 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 7336b49..b2b2a12 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1 +1,2 @@
-May 5, 2022 - Switched from sxiv to nsxiv, uses config files now
+May 5, 2022 - switched from sxiv to nsxiv, uses config files now
+May 7, 2022 - started wayland branch
diff --git a/dwm-6.3/scripts/dwm-goto b/dwm-6.3/scripts/dwm-goto
index c45f9ab..f297b25 100755
--- a/dwm-6.3/scripts/dwm-goto
+++ b/dwm-6.3/scripts/dwm-goto
@@ -1,8 +1,10 @@
#!/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"
+POSTURL=$(echo $URL | sed 's/-e//; s/reddit.com/old.reddit.com/')
+CMD="firejail --noprofile --hosts-file=~/.config/surf/ads.txt tabbed -dn tabbed-surf -r 2 surf -e '' $POSTURL"
+echo $POSTURL
if [[ -z "$URL" ]]; then
exit
else