.Xresources 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. ! xterm color scheme — Make all 16 beautiful.
  2. !
  3. ! Suited for black background, but includes disabled alternative light scheme.
  4. !
  5. ! Use xfontsel and xlsfonts to find other fonts.
  6. !
  7. ! On Ubuntu I have to name this file ‘~/.Xdefaults-$(hostname)’
  8. !
  9. ! ‘xrdb -load ~/.Xdefaults-stud’ is supposed to reload this file, but
  10. ! doesn’t seem to, so just fire new xterm upon every change.
  11. !
  12. ! Other resources:
  13. ! * showrgb — util to dump color db.
  14. ! * test-color-words16 — another color-displaying util (worth gist-ing).
  15. !!! urxvt perl modules to load
  16. URxvt.perl-ext-common: clipboard,default,fullscreen
  17. !!! Fonts
  18. !xterm*font: -*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-*
  19. !xterm*boldFont: -*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-*
  20. !xterm*italicFont: -*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-*
  21. !xterm*font: -misc-fixed-medium-r-JetBrains Mono-*-18-*-*-*-*-*-*-*
  22. !xterm*boldFont: -misc-fixed-medium-r-JetBrains Mono-*-18-*-*-*-*-*-*-*
  23. ! Very surprising that now neglecting to specify font still renders
  24. ! perfect misc-fixed font. Oh, it’s so lovely.
  25. !xterm*font: -*-*-*-*-*-*-*-100-*-*-*-60-iso10646-*
  26. !xterm*boldFont: -*-*-*-*-*-*-*-100-*-*-*-60-iso10646-*
  27. !xterm*italicFont: -*-*-*-*-*-*-*-100-*-*-*-60-iso10646-*
  28. XTerm.vt100.faceName: Fira Code:size=11:antialias=true
  29. XTerm.vt100.font: 7x13
  30. URxvt.font: xft:Fira Code:size=12,xft:Noto Color Emoji:size=9,xft:Unifont:pixelsize=12,-*-unifont-*-*-*-*-*-*-*-*-*-*-*-*
  31. !!! Enable copy/paste.
  32. ! http://www.davidsimmons.com/soft/xtermhacks/
  33. xterm*VT100.translations: #override <Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)
  34. URxvt.clipboard.autocopy: true
  35. URxvt.keysym.M-c: perl:clipboard:copy
  36. URxvt.keysym.M-v: perl:clipboard:paste
  37. !!! yoink
  38. URxvt.url-launcher: /usr/bin/xdg-open
  39. URxvt.perl-ext: default,url-select
  40. URxvt.keysym.C-M-u: perl:url-select:select_next
  41. URxvt.url-select.launcher: /usr/bin/xdg-open
  42. URxvt.url-select.underline: true
  43. Rxvt.keysym.C-M-f: perl:fullscreen:switch
  44. !!! nobody wants to see your scrollbar
  45. URxvt.scrollBar: false
  46. xterm*scrollBar: false
  47. !!! Foreground
  48. xterm*foreground: #d3d3d3
  49. URxvt.foreground: #d3d3d3
  50. !!! Background
  51. xterm*background: #000000
  52. URxvt.background: #000000
  53. xterm*cursorColor: #CC3214
  54. ! Blacks
  55. URxvt.color0: #161510
  56. URxvt.color8: #4C4635
  57. ! Reds
  58. URxvt.color1: #A32810
  59. URxvt.color9: #CC3214
  60. ! Greens
  61. URxvt.color2: #727A18
  62. URxvt.color10: #8E991E
  63. ! Yellows
  64. URxvt.color3: #A37720
  65. URxvt.color11: #CC9528
  66. ! Blues
  67. URxvt.color4: #3D6266
  68. URxvt.color12: #4C7B7F
  69. ! Purples
  70. URxvt.color5: #7A4955
  71. URxvt.color13: #995B6B
  72. ! Cyans
  73. URxvt.color6: #557A55
  74. URxvt.color14: #6B996B
  75. ! Whites
  76. URxvt.color7: #8E8463
  77. URxvt.color15: #CCBCBE
  78. ! Blacks
  79. xterm*color0: #161510
  80. xterm*color8: #4C4635
  81. ! Reds
  82. xterm*color1: #A32810
  83. xterm*color9: #CC3214
  84. ! Greens
  85. xterm*color2: #727A18
  86. xterm*color10: #8E991E
  87. ! Yellows
  88. xterm*color3: #A37720
  89. xterm*color11: #CC9528
  90. ! Blues
  91. xterm*color4: #3D6266
  92. xterm*color12: #4C7B7F
  93. ! Purples
  94. xterm*color5: #7A4955
  95. xterm*color13: #995B6B
  96. ! Cyans
  97. xterm*color6: #557A55
  98. xterm*color14: #6B996B
  99. ! Whites
  100. xterm*color7: #8E8463
  101. xterm*color15: #CCBCBE
  102. XTerm.vt100.backarrowKey: false
  103. XTerm.ttyModes: erase ^?
  104. !Ensure that your locale is set up for UTF-8. If you do not use UTF-8, you may need to force xterm to more strictly follow your locale by setting
  105. XTerm.vt100.locale: true
  106. !Make 'Alt' key behave as on other terminal emulators
  107. !The default Alt key behavior in xterm is a modifier to send eight bit input characters e.g. to insert æ by pressing Alt+f. To make Alt instead send a ^[ (escape) key (as in gnome-terminal and konsole), set
  108. XTerm.vt100.metaSendsEscape: true
  109. XTerm.termName: xterm-256color
  110. URxvt.termName: xterm-256color
  111. !bell stuff
  112. URxvt.mapAlert: true
  113. URxvt.urgentOnBell: true
  114. URxvt.visualBell: true
  115. xscreensaver.splash: false
  116. !font settings
  117. !xscreensaver.Dialog.headingFont: -*-georgia-bold-r-*-*-18-*-*-*-*-*-*-*
  118. !xscreensaver.Dialog.bodyFont: -*-georgia-medium-r-*-*-18-*-*-*-*-*-*-*
  119. !xscreensaver.Dialog.labelFont: -*-georgia-medium-r-*-*-18-*-*-*-*-*-*-*
  120. !xscreensaver.Dialog.unameFont: -*-georgia-medium-r-*-*-18-*-*-*-*-*-*-*
  121. !xscreensaver.Dialog.buttonFont: -*-georgia-bold-r-*-*-18-*-*-*-*-*-*-*
  122. !xscreensaver.Dialog.dateFont: -*-georgia-medium-r-*-*-18-*-*-*-*-*-*-*
  123. !xscreensaver.passwd.passwdFont: -*-georgia-bold-r-*-*-18-*-*-*-*-*-*-*
  124. !general dialog box (affects main hostname, username, password text)
  125. xscreensaver.Dialog.foreground: #8E8463
  126. xscreensaver.Dialog.background: #161510
  127. xscreensaver.Dialog.topShadowColor: #161510
  128. xscreensaver.Dialog.bottomShadowColor: #161510
  129. xscreensaver.Dialog.Button.foreground: #8E8463
  130. xscreensaver.Dialog.Button.background: #4C4635
  131. !username/password input box and date text colour
  132. xscreensaver.Dialog.text.foreground: #8E8463
  133. xscreensaver.Dialog.text.background: #161510
  134. xscreensaver.Dialog.internalBorderWidth:36
  135. xscreensaver.Dialog.borderWidth: 0
  136. xscreensaver.Dialog.shadowThickness: 2
  137. !timeout bar (background is actually determined by Dialog.text.background)
  138. xscreensaver.passwd.thermometer.foreground: #727A18
  139. xscreensaver.passwd.thermometer.background: #161510
  140. xscreensaver.passwd.thermometer.width: 10
  141. !datestamp format--see the strftime(3) manual page for details
  142. xscreensaver.dateFormat: %I:%M%p - %a %b %d, %Y