2010-09-16 19:30:41 +00:00
|
|
|
[[!meta title="How to change the font in urxvt (rxvt-unicode) dynamically"]]
|
2010-09-16 19:29:04 +00:00
|
|
|
|
|
|
|
After [[I had a look at some fonts for terminal emulators|published-xorg-terminal-emulator-fonts]],
|
|
|
|
I chose some of the fonts to be used for my terminal.
|
|
|
|
[rxvt-unicode](http://software.schmorp.de/pkg/rxvt-unicode.html) has excellent support for
|
|
|
|
dynamic font changes, as described
|
2010-09-16 19:33:37 +00:00
|
|
|
in the [urxvt faq](http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#Can_I_switch_the_fonts_at_runtime).
|
2010-09-16 19:29:04 +00:00
|
|
|
I decided to write a tiny script around the printf call
|
2015-03-27 13:27:23 +00:00
|
|
|
named [urxvt-font-change](https://github.com/telmich/nsbin/blob/master/urxvt-font-change).
|
2010-09-16 19:29:04 +00:00
|
|
|
|
2010-09-16 19:33:37 +00:00
|
|
|
This resulted in a clean [[.Xresources|configs/dot-Xresources]] file, which allows me to change the font
|
2010-09-16 19:29:04 +00:00
|
|
|
using ***Control-Alt-{1-6,0}***.
|
|
|
|
|
2015-03-27 13:27:23 +00:00
|
|
|
[[!tag terminal unix urxvt]]
|