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
|
|
|
|
named [urxvt-font-change](http://git.schottelius.org/?p=nsbin;a=commit;h=c0e8fa882655867abf5f6359bdff9498c02bf717).
|
|
|
|
|
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}***.
|
|
|
|
|
|
|
|
[[!tag unix]]
|