From: Sergey Matveev Date: Wed, 8 May 2024 08:11:49 +0000 (+0300) Subject: non-HiDPI links -g X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d5566c908a83e598ed8933e568aad90c7aa6ac7c;p=dotfiles.git non-HiDPI links -g --- diff --git a/links/bin/xom b/links/bin/xom index 469dd36..ddd72d0 100755 --- a/links/bin/xom +++ b/links/bin/xom @@ -15,4 +15,7 @@ if [ $# -gt 1 ] ; then wr) url="https://ru.wikipedia.org/wiki/$@" ;; esac fi -exec links -g "$url" +[ -e /tmp/hidpi ] || { + fonts="-menu-font-size 16 -html-user-font-size 20" +} +exec links -g $fonts "$url"