diff options
| author | kj_sh604 | 2026-01-04 00:28:14 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-01-04 00:28:14 -0500 |
| commit | 9c6dc0064c4f8a47264ac44b4e924d58d6caabdf (patch) | |
| tree | 4dcb87123761fc49d967e87f2611c70fa45beb8d | |
| parent | 70b408943696b3f18ed920fe67eb331561902e09 (diff) | |
refactor: `.Xresources`
I somehow use xterm a fair bit now 😅
| -rw-r--r-- | .Xresources | 254 |
1 files changed, 57 insertions, 197 deletions
diff --git a/.Xresources b/.Xresources index 7071fe2..199a3db 100644 --- a/.Xresources +++ b/.Xresources | |||
| @@ -1,44 +1,18 @@ | |||
| 1 | ! Font options - ~/.fonts.conf seems to override this | ||
| 2 | ! Resolution for Xft in dots per inch (e.g. 96) | ||
| 3 | Xft.dpi: 96 | 1 | Xft.dpi: 96 |
| 4 | ! Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr) | ||
| 5 | Xft.rgba: rgb | 2 | Xft.rgba: rgb |
| 6 | Xft.antialias: 1 | 3 | Xft.antialias: 1 |
| 7 | Xft.hinting: 1 | 4 | Xft.hinting: 1 |
| 8 | Xft.autohint: 0 | 5 | Xft.autohint: 0 |
| 9 | ! What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull) | ||
| 10 | Xft.hintstyle: hintfull | 6 | Xft.hintstyle: hintfull |
| 11 | 7 | ||
| 12 | !xterm*faceName: terminus-12 | 8 | #define WINDOWGEOMETRY 95x28 |
| 13 | !URxvt*font: terminus-12 | ||
| 14 | !URxvt*boldFont: terminus-12 | ||
| 15 | |||
| 16 | !#define FONTSIZE 12 | ||
| 17 | !xterm*faceName: xft:PragmataPro:size=FONTSIZE:antialias=true:hinting=true:autohint=false:hintstyle=hintnone:dpi=96 | ||
| 18 | !URxvt*font: xft:PragmataPro:size=FONTSIZE:antialias=true:hinting=true:autohint=false:hintstyle=hintnone:dpi=96 | ||
| 19 | !URxvt*boldFont: xft:PragmataPro:size=FONTSIZE:antialias=true:hinting=true:autohint=false:hintstyle=hintnone:dpi=96 | ||
| 20 | |||
| 21 | ! Extra options for xft font spec - ~/.fonts.conf seems to override this | ||
| 22 | !:antialias=false:hintstyle=hintfull | ||
| 23 | |||
| 24 | #define WINDOWGEOMETRY 90x20 | ||
| 25 | ! xterm | 9 | ! xterm |
| 26 | xterm*dynamiccolors: true | 10 | xterm*dynamiccolors: true |
| 27 | xterm*utf8: 2 | 11 | xterm*utf8: 2 |
| 28 | xterm*geometry: WINDOWGEOMETRY | 12 | xterm*geometry: WINDOWGEOMETRY |
| 29 | xterm*visualBell: off | 13 | xterm*visualBell: off |
| 30 | xterm*highlightSelection: true | 14 | xterm*highlightSelection: true |
| 31 | !xterm*background: lightblack | 15 | xterm*saveLines: 100000 |
| 32 | !xterm*foreground: lightblue | ||
| 33 | !xterm*colorMode: on | ||
| 34 | !xterm*colorBD: lightcyan | ||
| 35 | !xterm*colorBDMode: on | ||
| 36 | !xterm*colorUL: white | ||
| 37 | !xterm*colorULMode: on | ||
| 38 | !xterm*scrollTtyOutput: false | ||
| 39 | !xterm*scrollKey: true | ||
| 40 | !xterm*scrollBar: true | ||
| 41 | |||
| 42 | ! URxvt | 16 | ! URxvt |
| 43 | URxvt.modifier: mod1 | 17 | URxvt.modifier: mod1 |
| 44 | URxvt*loginShell: true | 18 | URxvt*loginShell: true |
| @@ -56,178 +30,63 @@ URxvt*termName: xterm-256color | |||
| 56 | URxvt.transparent: false | 30 | URxvt.transparent: false |
| 57 | URxvt.visualBell: false | 31 | URxvt.visualBell: false |
| 58 | 32 | ||
| 59 | ! URxvt.urgentOnBell: true | 33 | ! colors |
| 60 | ! URxvt.urlLauncher: chrome | ||
| 61 | ! URxvt.internalBorder: 3 | ||
| 62 | ! URxvt.depth: 24 | ||
| 63 | ! URxvt.letterSpace: -1 | ||
| 64 | ! URxvt.shading: 100 | ||
| 65 | |||
| 66 | ! URxvt.perl-ext-common: default,tabbed | ||
| 67 | ! ,clipboard | ||
| 68 | ! URxvt.tabbed.tabbar-fg: 4 | ||
| 69 | ! URxvt.tabbed.tabbar-bg: 0 | ||
| 70 | ! URxvt.tabbed.tab-fg: 9 | ||
| 71 | ! URxvt.tabbed.tab-bg: 0 | ||
| 72 | ! URxvt.keysym.M-c: perl:clipboard:copy | ||
| 73 | ! URxvt.keysym.M-v: perl:clipboard:paste | ||
| 74 | |||
| 75 | ! Colors | ||
| 76 | |||
| 77 | *.boldMode: true | 34 | *.boldMode: true |
| 78 | *.colorBDMode: false | 35 | *.colorBDMode: false |
| 79 | !*.colorBD: cyan | ||
| 80 | |||
| 81 | !! Base16 Flat | ||
| 82 | !#define base00 #2C3E50 | ||
| 83 | !#define base01 #34495E | ||
| 84 | !#define base02 #7F8C8D | ||
| 85 | !#define base03 #95A5A6 | ||
| 86 | !#define base04 #BDC3C7 | ||
| 87 | !#define base05 #e0e0e0 | ||
| 88 | !#define base06 #f5f5f5 | ||
| 89 | !#define base07 #ECF0F1 | ||
| 90 | !#define base08 #E74C3C | ||
| 91 | !#define base09 #E67E22 | ||
| 92 | !#define base0A #F1C40F | ||
| 93 | !#define base0B #2ECC71 | ||
| 94 | !#define base0C #1ABC9C | ||
| 95 | !#define base0D #3498DB | ||
| 96 | !#define base0E #9B59B6 | ||
| 97 | !#define base0F #be643c | ||
| 98 | 36 | ||
| 99 | ! Base16 Eighties | 37 | ! dark-pastels-kj |
| 100 | #define base00 #2d2d2d | 38 | #define base00_background #2c2c2c |
| 101 | #define base01 #393939 | 39 | #define base01_gray1 #393939 |
| 102 | #define base02 #515151 | 40 | #define base02_gray2 #515151 |
| 103 | #define base03 #747369 | 41 | #define base03_gray3 #709080 |
| 104 | #define base04 #a09f93 | 42 | #define base04_gray4 #a09f93 |
| 105 | #define base05 #d3d0c8 | 43 | #define base05_foreground #dcdcdc |
| 106 | #define base06 #e8e6df | 44 | #define base06_gray5 #e8e6df |
| 107 | #define base07 #f2f0ec | 45 | #define base07_white #ffffff |
| 108 | #define base08 #f2777a | 46 | #define base08_red #d67979 |
| 109 | #define base09 #f99157 | 47 | #define base09_orange #f99157 |
| 110 | #define base0A #ffcc66 | 48 | #define base0A_yellow #dfaf8f |
| 111 | #define base0B #99cc99 | 49 | #define base0B_green #60b48a |
| 112 | #define base0C #66cccc | 50 | #define base0C_cyan #8cd0d3 |
| 113 | #define base0D #6699cc | 51 | #define base0D_blue #9ab8d7 |
| 114 | #define base0E #cc99cc | 52 | #define base0E_magenta #dc8cc3 |
| 115 | #define base0F #d27b53 | 53 | #define base0F_brown #d27b53 |
| 54 | #define base_black #3f3f3f | ||
| 55 | #define base08_red_bright #dca3a3 | ||
| 56 | #define base0A_yellow_bright #f0dfaf | ||
| 57 | #define base0B_green_bright #72d5a3 | ||
| 58 | #define base0C_cyan_bright #93e0e3 | ||
| 59 | #define base0D_blue_bright #94bff3 | ||
| 60 | #define base0E_magenta_bright #ec93d3 | ||
| 61 | |||
| 62 | *.foreground: base05_foreground | ||
| 63 | *.background: base00_background | ||
| 64 | *.cursorColor: base05_foreground | ||
| 65 | *.cursorColor2: base05_foreground | ||
| 66 | *.cursorBlink: never | ||
| 67 | *.color0: base_black | ||
| 68 | *.color1: base08_red | ||
| 69 | *.color2: base0B_green | ||
| 70 | *.color3: base0A_yellow | ||
| 71 | *.color4: base0D_blue | ||
| 72 | *.color5: base0E_magenta | ||
| 73 | *.color6: base0C_cyan | ||
| 74 | *.color7: base05_foreground | ||
| 75 | *.color8: base03_gray3 | ||
| 76 | *.color9: base08_red_bright | ||
| 77 | *.color10: base0B_green_bright | ||
| 78 | *.color11: base0A_yellow_bright | ||
| 79 | *.color12: base0D_blue_bright | ||
| 80 | *.color13: base0E_magenta_bright | ||
| 81 | *.color14: base0C_cyan_bright | ||
| 82 | *.color15: base07_white | ||
| 83 | *.color16: base09_orange | ||
| 84 | *.color17: base0F_brown | ||
| 85 | *.color18: base01_gray1 | ||
| 86 | *.color19: base02_gray2 | ||
| 87 | *.color20: base04_gray4 | ||
| 88 | *.color21: base06_gray5 | ||
| 116 | 89 | ||
| 117 | !! Base16 Atelier Dune | ||
| 118 | !#define base00 #20201d | ||
| 119 | !#define base01 #292824 | ||
| 120 | !#define base02 #6e6b5e | ||
| 121 | !#define base03 #7d7a68 | ||
| 122 | !#define base04 #999580 | ||
| 123 | !#define base05 #a6a28c | ||
| 124 | !#define base06 #e8e4cf | ||
| 125 | !#define base07 #fefbec | ||
| 126 | !#define base08 #d73737 | ||
| 127 | !#define base09 #b65611 | ||
| 128 | !#define base0A #cfb017 | ||
| 129 | !#define base0B #60ac39 | ||
| 130 | !#define base0C #1fad83 | ||
| 131 | !#define base0D #6684e1 | ||
| 132 | !#define base0E #b854d4 | ||
| 133 | !#define base0F #d43552 | ||
| 134 | |||
| 135 | |||
| 136 | ! Dark | ||
| 137 | *.foreground: base05 | ||
| 138 | *.background: base00 | ||
| 139 | *.cursorColor: base05 | ||
| 140 | *.cursorColor2: base05 | ||
| 141 | *.cursorUnderline: true | ||
| 142 | *.cursorBlink: true | ||
| 143 | |||
| 144 | ! Light | ||
| 145 | !*.foreground: base02 | ||
| 146 | !*.background: base07 | ||
| 147 | !*.cursorColor: base02 | ||
| 148 | !*.cursorColor2: base02 | ||
| 149 | |||
| 150 | *.color0: base00 | ||
| 151 | *.color1: base08 | ||
| 152 | *.color2: base0B | ||
| 153 | *.color3: base0A | ||
| 154 | *.color4: base0D | ||
| 155 | *.color5: base0E | ||
| 156 | *.color6: base0C | ||
| 157 | *.color7: base05 | ||
| 158 | *.color8: base03 | ||
| 159 | *.color9: base08 | ||
| 160 | *.color10: base0B | ||
| 161 | *.color11: base0A | ||
| 162 | *.color12: base0D | ||
| 163 | *.color13: base0E | ||
| 164 | *.color14: base0C | ||
| 165 | *.color15: base07 | ||
| 166 | *.color16: base09 | ||
| 167 | *.color17: base0F | ||
| 168 | *.color18: base01 | ||
| 169 | *.color19: base02 | ||
| 170 | *.color20: base04 | ||
| 171 | *.color21: base06 | ||
| 172 | |||
| 173 | !! Solarized color scheme for the X Window System | ||
| 174 | !! http://ethanschoonover.com/solarized | ||
| 175 | !! Common | ||
| 176 | !#define S_yellow #b58900 | ||
| 177 | !#define S_orange #cb4b16 | ||
| 178 | !#define S_red #dc322f | ||
| 179 | !#define S_magenta #d33682 | ||
| 180 | !#define S_violet #6c71c4 | ||
| 181 | !#define S_blue #268bd2 | ||
| 182 | !#define S_cyan #2aa198 | ||
| 183 | !#define S_green #859900 | ||
| 184 | !! Dark | ||
| 185 | !#define S_base02 #073642 | ||
| 186 | !#define S_base03 #002b36 | ||
| 187 | !#define S_base01 #586e75 | ||
| 188 | !#define S_base00 #657b83 | ||
| 189 | !#define S_base0 #839496 | ||
| 190 | !#define S_base1 #93a1a1 | ||
| 191 | !#define S_base2 #eee8d5 | ||
| 192 | !#define S_base3 #fdf6e3 | ||
| 193 | !! Light | ||
| 194 | !!#define S_base03 #fdf6e3 | ||
| 195 | !!#define S_base02 #eee8d5 | ||
| 196 | !!#define S_base01 #93a1a1 | ||
| 197 | !!#define S_base00 #839496 | ||
| 198 | !!#define S_base0 #657b83 | ||
| 199 | !!#define S_base1 #586e75 | ||
| 200 | !!#define S_base2 #073642 | ||
| 201 | !!#define S_base3 #002b36 | ||
| 202 | ! | ||
| 203 | !*background: S_base03 | ||
| 204 | !*foreground: S_base0 | ||
| 205 | !*fading: 40 | ||
| 206 | !*fadeColor: S_base03 | ||
| 207 | !*cursorColor: S_base1 | ||
| 208 | !*pointerColorBackground: S_base01 | ||
| 209 | !*pointerColorForeground: S_base1 | ||
| 210 | ! | ||
| 211 | !*color0: S_base02 | ||
| 212 | !*color1: S_red | ||
| 213 | !*color2: S_green | ||
| 214 | !*color3: S_yellow | ||
| 215 | !*color4: S_blue | ||
| 216 | !*color5: S_magenta | ||
| 217 | !*color6: S_cyan | ||
| 218 | !*color7: S_base2 | ||
| 219 | !*color9: S_orange | ||
| 220 | !*color8: S_base03 | ||
| 221 | !*color10: S_base01 | ||
| 222 | !*color11: S_base00 | ||
| 223 | !*color12: S_base0 | ||
| 224 | !*color13: S_violet | ||
| 225 | !*color14: S_base1 | ||
| 226 | !*color15: S_base3 | ||
| 227 | |||
| 228 | !Xcursor.size: 32 | ||
| 229 | |||
| 230 | XTerm.VT100.cursorBlink: never | ||
| 231 | XTerm.vt100.faceName: Roboto Mono:size=10:antialias=true | 90 | XTerm.vt100.faceName: Roboto Mono:size=10:antialias=true |
| 232 | XTerm.vt100.font: -misc-roboto mono-medium-r-normal--10-100-75-75-m-60-iso8859-1 | 91 | XTerm.vt100.font: -misc-roboto mono-medium-r-normal--10-100-75-75-m-60-iso8859-1 |
| 233 | 92 | ||
| @@ -238,8 +97,9 @@ XTerm.vt100.translations: #override \n\ | |||
| 238 | Ctrl <Key> plus: larger-vt-font() | 97 | Ctrl <Key> plus: larger-vt-font() |
| 239 | 98 | ||
| 240 | URxvt.font: xft: Roboto Mono:size=10:antialias=true | 99 | URxvt.font: xft: Roboto Mono:size=10:antialias=true |
| 100 | |||
| 241 | ! below requires the resize-font perl extension | 101 | ! below requires the resize-font perl extension |
| 242 | URxvt.keysym.C-minus: resize-font:smaller | 102 | URxvt.keysym.C-minus: resize-font:smaller |
| 243 | URxvt.keysym.C-equal: resize-font:bigger | 103 | URxvt.keysym.C-equal: resize-font:bigger |
| 244 | URxvt.keysym.C-0: resize-font:reset | 104 | URxvt.keysym.C-0: resize-font:reset |
| 245 | URxvt.keysym.C-question: resize-font:show | 105 | URxvt.keysym.C-question: resize-font:show \ No newline at end of file |
