Skip to content
프로젝트

simmel/urxvt-resize-font

GitHub에서 보기

소개

URxvt Perl extension for resizing the font

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Installation

  1. Copy resize-font to where URxvt looks for Perl extensions, e.g: $HOME/.urxvt/ext/. For the exact path, see the urxvt(1) manual page on perl-lib.

  2. In your ~/.Xresources file, add resize-font to the urxvt.perl-ext-common setting so URxvt loads the extension, e.g:

     urxvt.perl-ext-common: default,tabbed,matcher,resize-font,-tabbed
    

Configuration

All configuration of resize-font is done in ~/.Xresources.

Note that this extension requires you to set your font size through the urxvt.font property.

Fonts

Default font sizes can be specified in pixels, using the pixelsize attribute, e.g.:

urxvt.font: xft:Inconsolata:pixelsize=12

Or they can be given in points, using the size attribute, e.g.:

urxvt.font: xft:Inconsolata:size=12

Fixed fonts are also supported, for example:

urxvt.font: 7x14

And, finally, XLFD/X logical font description is supported as well, e.g.:

urxvt.font: -*-inconsolata-medium-*-normal-*-14-*-*-*-*-*-iso8859-*

Keybindings

The default keybindings look like this:

URxvt.keysym.C-minus:     resize-font:smaller
URxvt.keysym.C-plus:      resize-font:bigger
URxvt.keysym.C-equal:     resize-font:reset
URxvt.keysym.C-question:  resize-font:show

Keybindings can be modified using the above syntax. For more information on how to specify keys, see the description of the keysym resource in the urxvt(1) manual page.

Resize interval

You can also configure the number of steps to take when changing the font size:

URxvt.resize-font.step: 2

And even fractions like 0.2 are supported.

관련 프로젝트 살펴보기

불러오는 중…