!
! UXTerm
!

! Override $TERM to tell the shell we support color
UXTerm.termName: xterm-256color

! Override builtin icon
UXTerm.iconHint: mini.xterm

! Use a TrueType font
UXTerm.vt100.faceName: Hack
UXTerm.vt100.faceSize: 8
UXTerm.vt100.faceSize1: 4
UXTerm.vt100.faceSize2: 6
UXTerm.vt100.faceSize3: 10
UXTerm.vt100.faceSize4: 12
UXTerm.vt100.faceSize5: 16
UXTerm.vt100.faceSize6: 20
UXTerm.vt100.faceSize7: 24

! Use Tango color palette from GNOME (nicer to the eyes)
UXTerm.vt100.color0: rgb:2E/34/36
UXTerm.vt100.color1: rgb:CC/00/00
UXTerm.vt100.color2: rgb:4E/9A/06
UXTerm.vt100.color3: rgb:C4/A0/00
UXTerm.vt100.color4: rgb:34/65/A4
UXTerm.vt100.color5: rgb:75/50/7B
UXTerm.vt100.color6: rgb:06/98/9A
UXTerm.vt100.color7: rgb:D3/D7/CF
UXTerm.vt100.color8: rgb:55/57/53
UXTerm.vt100.color9: rgb:EF/29/29
UXTerm.vt100.color10: rgb:8A/E2/34
UXTerm.vt100.color11: rgb:FC/E9/4F
UXTerm.vt100.color12: rgb:72/9F/CF
UXTerm.vt100.color13: rgb:AD/7F/A8
UXTerm.vt100.color14: rgb:34/E2/E2
UXTerm.vt100.color15: rgb:EE/EE/EC

! Disable using different colors for bold
UXTerm.vt100.boldColors: false

! Enable cursor blinking
UXTerm.vt100.cursorBlink: true

! Add keybindings:
! - Change font size with Ctrl++, Ctrl+-, Ctrl+0
! - Copy/paste with Ctrl+Shift+C/V
! - Open URI with Ctrl-Shift-Btn1
UXTerm.vt100.Translations: #override \
  Ctrl <Key> minus:	smaller-vt-font() \n\
  Ctrl <Key> plus:	larger-vt-font() \n\
  Ctrl <Key> 0:		set-vt-font(d) \n\
  Ctrl Shift <Key>V:	insert-selection(CLIPBOARD) \n\
  Ctrl Shift <Key>C:	copy-selection(CLIPBOARD) \n\
  Ctrl Shift <Btn1Up>:	exec-formatted("xdg-open '%t'", PRIMARY)

! Increase scrolling buffer
UXTerm.vt100.saveLines: 100000

! Display scroll bar
!UXTerm.vt100.scrollBar: true
!UXTerm.vt100.rightScrollBar: true

! Scroll on key press, not on TTY output
UXTerm.vt100.scrollKey: true
UXTerm.vt100.scrollTtyOutput: false
UXTerm.vt100.autoScrollLock: true

! Send cursor up/down key when scrolling in alternate buffer screen
UXTerm.vt100.alternateScroll: true
