.Xresources
2021-12-13 · 228 words · 2 min
TagsĀ :  OpenBSD Setup

:~$ cat .Xresources
#include "/home/destiny/.config/themes/dracula"
Xft.dpi:                        96
Xft.autohint:                   true
Xft.lcdfilter:                  lcddefault
Xft.hintstyle:                  hintslight
Xft.hinting:                    true
Xft.antialias:                  true 
Xft.rgba:                       rgb

XTerm*termName:                 xterm-256color
XTerm*utf8:                     2
XTerm*loginShell:               true
XTerm*faceName:                 Hack
XTerm*faceSize:                 11
XTerm*renderFont:               true
XTerm*dynamicColors:            true
XTerm*vt100.cursorBlink:        true
XTerm*vt100.cursorUnderLine:    true
XTerm*vt100*geometry:           80x30
XTerm*vt100*scaleHeight:        1.00
XTerm*vt100.metaSendsEscape:    true
XTerm*vt100.scrollBar:          false
XTerm*vt100.bellIsUrgent:       true
XTerm*vt100.saveLines:          10240
XTerm*charClass:                33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
!XTerm*autohint:                true
XTerm*allowBoldFonts:           false
XTerm*eightBitInput:            false
!XTerm.eightBitOutput: true
XTerm*borderWidth:              0
XTerm*internalBorder:           0 
XTerm*selectToClipboard:        true
!XTerm*modifyCursorKeys:        1
!XTerm*modifyFunctionKeys:      1
!XTerm*Background:              #282A36
!XTerm*Foreground:              #F8F8F2
!Xterm*cursorColor:             #FF7500

*VT100.Translations: #override \
    <Key>BackSpace: string(0x7F) \n\
    <Key>Delete: string("\033[3~") \n\
    <Key>Home:      string("\033[1~")\n\
    <Key>End:       string("\033[4~")
*ttyModes: erase ^?

! crtr+/- to change xterm font size and copy-behaviour
XTerm*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>C:      copy-selection(CLIPBOARD) \n\
              Ctrl Shift <Key>V:      insert-selection(CLIPBOARD)

! color corrections
Sxiv.background:                #282A36
Sxiv.foreground:                #F8F8F2
Sxiv.font:                      Hack-11

XTerm*faceSize1:                10 
XTerm*faceSize2:                11
XTerm*faceSize3:                12
XTerm*faceSize4:                13
XTerm*faceSize5:                14
XTerm*faceSize6:                15

tech · about · visual · contact · home