summaryrefslogtreecommitdiff
path: root/bin/w3
diff options
context:
space:
mode:
Diffstat (limited to 'bin/w3')
-rwxr-xr-xbin/w36
1 files changed, 6 insertions, 0 deletions
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"