diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-12-16 11:42:33 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-12-16 11:42:33 +0100 |
| commit | 517baf7e7578ffb4170be32fbe8900ceea340ad5 (patch) | |
| tree | 5121f0086d7a6deee194e657538bb0abf06f5cb6 /bin/w3 | |
| parent | 550d6039ab215459e8dc3f83e1cb238156bcc3f3 (diff) | |
| parent | 4bba38ec61e0aba340ea885f2b85ace465735eca (diff) | |
Merge branch 'alpine' of github.com:mvertes/dotfiles into alpine
Diffstat (limited to 'bin/w3')
| -rwxr-xr-x | bin/w3 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" |
