From 4bba38ec61e0aba340ea885f2b85ace465735eca Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Wed, 28 Sep 2022 18:29:24 +0200 Subject: update --- bin/w3 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/w3 diff --git a/bin/w3 b/bin/w3 new file mode 100755 index 0000000..90cc29c --- /dev/null +++ b/bin/w3 @@ -0,0 +1,6 @@ +#!/bin/sh + +cols=$(stty -a|awk -F "[ ;]" '{print $9; exit}') +[ $cols -gt 72 ] && stty cols 72 +w3m "${@:-https://ddg.gg/lite/}" +stty cols "$cols" -- cgit v1.2.3