From f9dd6d6dcfb2da47b77a2104d6837edf646c9ee9 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 13 Dec 2015 03:17:45 +0100
Subject: [PATCH] Move more font config into Xresources.

---
 dotfiles/user/t450s/{Xresources => Xresources-local} |  3 +++
 dotfiles/user/thinkpad/Xresources                    |  4 ++++
 dotfiles/user/thinkpad/i3/config                     |  5 ++---
 dotfiles/user/thinkpad/xinitrc                       |  1 +
 dotfiles/user/x200s/{Xresources => Xresources-local} | 11 +++++++++++
 5 files changed, 21 insertions(+), 3 deletions(-)
 rename dotfiles/user/t450s/{Xresources => Xresources-local} (91%)
 create mode 100644 dotfiles/user/thinkpad/Xresources
 rename dotfiles/user/x200s/{Xresources => Xresources-local} (75%)

diff --git a/dotfiles/user/t450s/Xresources b/dotfiles/user/t450s/Xresources-local
similarity index 91%
rename from dotfiles/user/t450s/Xresources
rename to dotfiles/user/t450s/Xresources-local
index 818d251..3a1f113 100644
--- a/dotfiles/user/t450s/Xresources
+++ b/dotfiles/user/t450s/Xresources-local
@@ -1,3 +1,6 @@
+! font size
+XTerm*faceSize: 14
+
 ! black
 *color0: #202020
 *color8: #3F3F3F
diff --git a/dotfiles/user/thinkpad/Xresources b/dotfiles/user/thinkpad/Xresources
new file mode 100644
index 0000000..ebe9330
--- /dev/null
+++ b/dotfiles/user/thinkpad/Xresources
@@ -0,0 +1,4 @@
+! font
+XTerm*faceName: -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
+XTerm*reverseVideo: on
+XTerm*visualBell: on
diff --git a/dotfiles/user/thinkpad/i3/config b/dotfiles/user/thinkpad/i3/config
index 68a15f8..cc6fbc3 100644
--- a/dotfiles/user/thinkpad/i3/config
+++ b/dotfiles/user/thinkpad/i3/config
@@ -11,9 +11,8 @@ workspace_layout              tabbed
 set                           $mod Mod4
 floating_modifier             $mod
 
-# Launch xterm small-font white-on-black or big-font black-on-white. 
-bindsym $mod+Return           exec xterm -vb -ls -r -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 8
-bindsym $mod+Shift+Return     exec xterm -vb -ls -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 19
+# Launch xterm.
+bindsym $mod+Return           exec xterm
 
 # Launch programs via dmenu.
 bindsym $mod+d                exec dmenu_run
diff --git a/dotfiles/user/thinkpad/xinitrc b/dotfiles/user/thinkpad/xinitrc
index 2df586f..b26ce55 100644
--- a/dotfiles/user/thinkpad/xinitrc
+++ b/dotfiles/user/thinkpad/xinitrc
@@ -5,6 +5,7 @@ setxkbmap de
 
 # Read in X configuration.
 xrdb -merge ~/.Xresources
+xrdb -merge ~/.Xresources-local
 
 # Redshift to Berlin, Germany.
 redshift -rl 53:13 &
diff --git a/dotfiles/user/x200s/Xresources b/dotfiles/user/x200s/Xresources-local
similarity index 75%
rename from dotfiles/user/x200s/Xresources
rename to dotfiles/user/x200s/Xresources-local
index 89fb5bd..32c741c 100644
--- a/dotfiles/user/x200s/Xresources
+++ b/dotfiles/user/x200s/Xresources-local
@@ -1,23 +1,34 @@
+! font size
+XTerm*faceSize: 8
+
+! black
 *color0: #000000
 *color8: #3F3F3F
 
+! red
 *color1: #BF0000
 *color9: #FF0000
 
+! green
 *color2: #00BF00
 *color10: #00FF00
 
+! yellow
 *color3: #BFBF00
 *color11: #FFFF00
 
+! blue
 *color4: #3F3FFF
 *color12: #9F9FFF
 
+! magenta
 *color5: #BF3FFF
 *color13: #FFF9FF
 
+! cyan
 *color6: #3FBFFF
 *color14: #9FFFFF
 
+! white
 *color7: #BFBFBF
 *color15: #FFFFFF
-- 
2.30.2