aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-04 22:43:15 +0800
committerGuangxiong Lin <[email protected]>2022-02-04 22:43:15 +0800
commit5a6810e7c163354b61e3582f3aa33d132e694654 (patch)
treeaadc4a1b57a682b5aa7bec6e37cafa65bf3bff9b
parentcf443fe7f98b770a4dad2eff80b28964bd598005 (diff)
downloaddotfiles-5a6810e7c163354b61e3582f3aa33d132e694654.tar.gz
dotfiles-5a6810e7c163354b61e3582f3aa33d132e694654.tar.bz2
dotfiles-5a6810e7c163354b61e3582f3aa33d132e694654.zip
Add Xresources config
-rw-r--r--.Xresources10
-rw-r--r--.Xresources.d/rxvt-unicode44
-rw-r--r--.Xresources.d/xterm19
3 files changed, 73 insertions, 0 deletions
diff --git a/.Xresources b/.Xresources
new file mode 100644
index 0000000..b7cdec9
--- /dev/null
+++ b/.Xresources
@@ -0,0 +1,10 @@
+Xft.dpi: 96
+Xft.antialias: true
+Xft.rgba: rgb
+Xft.hinting: true
+Xft.hintstyle: hintslight
+Xft.autohint: false
+Xft.lcdfilter: lcddefault
+
+#include ".Xresources.d/rxvt-unicode"
+#include ".Xresources.d/xterm"
diff --git a/.Xresources.d/rxvt-unicode b/.Xresources.d/rxvt-unicode
new file mode 100644
index 0000000..941f653
--- /dev/null
+++ b/.Xresources.d/rxvt-unicode
@@ -0,0 +1,44 @@
+! vim: ft=xdefaults
+
+URxvt.termName: rxvt-unicode-256color
+
+URxvt.font:\
+ xft:DejaVu Sans Mono:size=12,\
+ xft:WenQuanYi Micro Hei Mono:size=12
+URxvt.boldfont:\
+ xft:DejaVu Sans Mono:size=12:style=Bold,\
+ xft:WenQuanYi Micro Hei Mono:size=12:style=Bold
+URxvt.lineSpace: 0
+URxvt.letterSpace: -1
+
+URxvt.geometry: 80x24
+
+URxvt.scrollBar: false
+
+! Colors
+URxvt*background: #000000
+URxvt*foreground: #B2B2B2
+! black
+URxvt*color0: #000000
+URxvt*color8: #686868
+! red
+URxvt*color1: #B21818
+URxvt*color9: #FF5454
+! green
+URxvt*color2: #18B218
+URxvt*color10: #54FF54
+! yellow
+URxvt*color3: #B26818
+URxvt*color11: #FFFF54
+! blue
+URxvt*color4: #1818B2
+URxvt*color12: #5454FF
+! purple
+URxvt*color5: #B218B2
+URxvt*color13: #FF54FF
+! cyan
+URxvt*color6: #18B2B2
+URxvt*color14: #54FFFF
+! white
+URxvt*color7: #B2B2B2
+URxvt*color15: #FFFFFF
diff --git a/.Xresources.d/xterm b/.Xresources.d/xterm
new file mode 100644
index 0000000..283b529
--- /dev/null
+++ b/.Xresources.d/xterm
@@ -0,0 +1,19 @@
+! vim: ft=xdefaults
+
+XTerm.termName: xterm-256color
+
+! Force UTF-8
+XTerm.vt100.locale: false
+XTerm.vt100.utf8: true
+
+! Color
+XTerm.vt100.foreground: white
+XTerm.vt100.background: black
+
+XTerm.vt100.saveLines: 1024
+
+! Fonts
+XTerm.vt100.faceName: DejaVu Sans Mono
+XTerm.vt100.faceNameDoublesize: Noto Sans Mono CJK SC,Noto Sans Mono CJK JP
+XTerm.vt100.faceSize: 12
+