]> Sergey Matveev's repositories - dotfiles.git/commitdiff
non-HiDPI links -g
authorSergey Matveev <stargrave@stargrave.org>
Wed, 8 May 2024 08:11:49 +0000 (11:11 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 8 May 2024 08:11:52 +0000 (11:11 +0300)
links/bin/xom

index 469dd36ecf262e9690999b5982ab8c374e7db863..ddd72d0239737cd7b83b527bbe4b961b67db198c 100755 (executable)
@@ -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"