From 0a294a82b2cf29a46cc926ceefebd2dcd34a0ab7 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 27 Sep 2022 15:10:44 +0200 Subject: add bin/w3 --- bin/w3 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/w3 (limited to 'bin/w3') diff --git a/bin/w3 b/bin/w3 new file mode 100755 index 0000000..52a6408 --- /dev/null +++ b/bin/w3 @@ -0,0 +1,6 @@ +#!/bin/sh + +cols=$(stty -a|awk -F "[ ;]" '{print $9; exit}') +stty cols 72 +w3m "${@:-https://ddg.gg/lite/}" +stty cols "$cols" -- cgit v1.2.3