From: Christian Heller Date: Sun, 13 Dec 2015 02:17:45 +0000 (+0100) Subject: Move more font config into Xresources. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/decks/todo?a=commitdiff_plain;h=f9dd6d6dcfb2da47b77a2104d6837edf646c9ee9;p=config Move more font config into Xresources. --- diff --git a/dotfiles/user/t450s/Xresources b/dotfiles/user/t450s/Xresources deleted file mode 100644 index 818d251..0000000 --- a/dotfiles/user/t450s/Xresources +++ /dev/null @@ -1,31 +0,0 @@ -! black -*color0: #202020 -*color8: #3F3F3F - -! red -*color1: #A82020 -*color9: #E82020 - -! green -*color2: #20A820 -*color10: #20E820 - -! yellow -*color3: #A8A820 -*color11: #E8E820 - -! blue -*color4: #3F3FFF -*color12: #9F9FFF - -! magenta -*color5: #A83FFF -*color13: #E89FFF - -! cyan -*color6: #3FA8FF -*color14: #9FE8FF - -! white -*color7: #A8A8A8 -*color15: #E8E8E8 diff --git a/dotfiles/user/t450s/Xresources-local b/dotfiles/user/t450s/Xresources-local new file mode 100644 index 0000000..3a1f113 --- /dev/null +++ b/dotfiles/user/t450s/Xresources-local @@ -0,0 +1,34 @@ +! font size +XTerm*faceSize: 14 + +! black +*color0: #202020 +*color8: #3F3F3F + +! red +*color1: #A82020 +*color9: #E82020 + +! green +*color2: #20A820 +*color10: #20E820 + +! yellow +*color3: #A8A820 +*color11: #E8E820 + +! blue +*color4: #3F3FFF +*color12: #9F9FFF + +! magenta +*color5: #A83FFF +*color13: #E89FFF + +! cyan +*color6: #3FA8FF +*color14: #9FE8FF + +! white +*color7: #A8A8A8 +*color15: #E8E8E8 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 deleted file mode 100644 index 89fb5bd..0000000 --- a/dotfiles/user/x200s/Xresources +++ /dev/null @@ -1,23 +0,0 @@ -*color0: #000000 -*color8: #3F3F3F - -*color1: #BF0000 -*color9: #FF0000 - -*color2: #00BF00 -*color10: #00FF00 - -*color3: #BFBF00 -*color11: #FFFF00 - -*color4: #3F3FFF -*color12: #9F9FFF - -*color5: #BF3FFF -*color13: #FFF9FF - -*color6: #3FBFFF -*color14: #9FFFFF - -*color7: #BFBFBF -*color15: #FFFFFF diff --git a/dotfiles/user/x200s/Xresources-local b/dotfiles/user/x200s/Xresources-local new file mode 100644 index 0000000..32c741c --- /dev/null +++ b/dotfiles/user/x200s/Xresources-local @@ -0,0 +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