Xresources: fixed dina font size

master
Pierre Neidhardt 2013-09-18 12:27:28 +02:00
parent b8b234ce5f
commit 8c573ecf7f
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ URxvt.clipboard.pastecmd: xclip -o -quiet
!! Xft that are OK with w3m image preview.
! urxvt.font: xft:terminus:pixelsize=14
urxvt.font: xft:Dina:pixelsize=16
urxvt.font: xft:Dina:pixelsize=14
!! Xft options
! Xft.antialias: false

View File

@ -357,6 +357,7 @@ fi
##==============================================================================
## PREVIEW
## TODO: there is a alignment issue when strings contain wide characters.
ATTR_WIDTH="%-13.13s" # Length of longest attribute +2
## INPUT_WIDTH = COLUNMS - ATTR_WIDTH -2 (for |))
INPUT_WIDTH=$((($(tput cols)-15)/2))