dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 4ec8446d7d24ae0c546ca63ffaca87ecafabf9d1
parent 58a04d4b78a1c77071eab55c0f66e98359c47f54
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  7 Sep 2020 09:24:15 +0200

Set custom user agent for surf

Diffstat:
M.local/bin/surf-open.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/surf-open.sh b/.local/bin/surf-open.sh @@ -18,7 +18,7 @@ runtabbed() { sleep 1 } opensurf() { - nohup $prefix surf -e "$xid" "$uri" >/dev/null 2>&1 & + nohup $prefix surf -e "$xid" -u 'Mozilla/5.0 (X11; OpenBSD amd64; rv:76.0) Gecko/20100101 Firefox/76.0' "$uri" >/dev/null 2>&1 & } [ ! -r "$xidfile" ] && runtabbed