From 5a6810e7c163354b61e3582f3aa33d132e694654 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 4 Feb 2022 22:43:15 +0800 Subject: Add Xresources config --- .Xresources | 10 ++++++++++ .Xresources.d/rxvt-unicode | 44 ++++++++++++++++++++++++++++++++++++++++++++ .Xresources.d/xterm | 19 +++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 .Xresources create mode 100644 .Xresources.d/rxvt-unicode create mode 100644 .Xresources.d/xterm 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 + -- cgit v1.2.3