X Resources

about | blog | config | notes | github

1. User-level Dotfile for X11

The Xresources file is used to confiugre user level options for various Xorg X11 Window System Applications.

2. Configuration

2.1. XRDB Refresh

We should make sure we add a small refresh script to the xinit user-level scripts so that they get refreshed whenever our window manager refreshes its settings.

xrdb -I$HOME $HOME/.Xresources

2.2. Source Colorscheme

#include ".config/xcolor/scheme"

2.3. Xft Font Settings

Xft.dpi:                    96
Xft.antialias:              true
Xft.rgba:                   rgb
Xft.hinting:                true
Xft.hintstyle:              hintslight

2.4. Default Font Face

!*font: xft:Iosevka Term:size=11
!*font: xft:xos4 Terminus:size=12
!#define system_font xft:Terminus:size=12
#define system_font xft:Iosevka Term:size=12

2.5. External Configurations

We need to source the xresources of URxvt Terminal Emulator, Rofi Dmenu, and GNU/Emacs.

#include ".config/xresources.d/urxvt"
#include ".config/xresources.d/emacs"

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)