Skip to content

Instantly share code, notes, and snippets.

@furushchev
Created December 18, 2018 08:08
Show Gist options
  • Save furushchev/057031a87b6ae11594a8265434a73fe3 to your computer and use it in GitHub Desktop.
Save furushchev/057031a87b6ae11594a8265434a73fe3 to your computer and use it in GitHub Desktop.
! Settings for XTerm
XTerm*cjkWidth : false
XTerm*utf8 : 1
XTerm*locale : true
XTerm*faceName : Dejavu Sans Mono:style=book
XTerm*faceNameDoublesize: IPAGothic:style=Regular
XTerm*loginshell : true
XTerm*selectToClipboard : true
XTerm*metaSendsEscape : true
XTerm*faceSize : 11
! XTerm*background : black
! XTerm*foreground : white
XTerm*saveLines : 20000000
XTerm*geometry : 80x20+300+100
XTerm*ScrollBar : true
XTerm*rightScrollBar : true
XTerm*scrollTtyOutput : false
XTerm*termName : xterm-256color
XTerm*decTerminalID : 340
XTerm*numColorRegisters : 256
! TomorrowNight Color Theme
! https://github.com/chriskempson/tomorrow-theme/blob/master/Xdefaults/XresourceTomorrowNight
#define t_background #1d1f21
#define t_current_line #282a2e
#define t_selection #373b41
#define t_foreground #c5c8c6
#define t_comment #969896
#define t_red #cc6666
#define t_orange #de935f
#define t_yellow #f0c674
#define t_green #b5bd68
#define t_aqua #8abeb7
#define t_blue #81a2be
#define t_purple #b294bb
XTerm*foreground: t_foreground
XTerm*background: t_background
XTerm*cursorColor: #aeafad
! Black / Grey
XTerm*color0: #000000
XTerm*color8: #666666
! Red / Bright Red
XTerm*color1: t_red
XTerm*color9: #FF3334
! Green + Bright Green
XTerm*color2: t_green
XTerm*color10: #9ec400
! Yellow (Orange) + Bright Yellow (Yellow)
XTerm*color3: t_orange
XTerm*color11: t_yellow
! Blue + Bright Blue
XTerm*color4: t_blue
XTerm*color12: t_blue
! Magenta (Purple) + Bright Magenta
XTerm*color5: t_purple
XTerm*color13: #b777e0
! Cyan (Aqua) + Bright Cyan
XTerm*color6: t_aqua
XTerm*color14: #54ced6
! Light Grey (Selection) + White (Current Line)
XTerm*color7: t_selection
XTerm*color15: t_current_line
@Jotschi
Copy link

Jotschi commented Oct 1, 2022

Found this gist useful.
Small note:
XTerm*maxGraphicSize : 9000x9000 might be needed if anyone that finds this wants to display larger images. Default is 1000x1000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment