aboutsummaryrefslogtreecommitdiff
path: root/Xresources.dot.link
blob: 84e5167159bf275141a78fe5a62386000bf9c0a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
! To apply this config without restarting your X session, run
! xrdb -merge ~/.Xresources

! Misc Terminal configuration
XTerm*metaSendsEscape: true
URxvt*searchable-scrollback: M-S

! The string will be interpreted as if typed into the shell as-is.
! In this example, printing will be disabled altogether.
! See https://wiki.gentoo.org/wiki/Rxvt-unicode#Printing
URxvt.print-pipe: "cat > /dev/null"

! See http://linuxforcynics.com/how-to/using-rxvt-unicode-with-screen
!     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630976
!     https://bbs.archlinux.org/viewtopic.php?id=50647
!     https://stackoverflow.com/questions/12345675/screen-cannot-find-terminfo-entry-for-xterm-256color
!     http://510x.se/notes/posts/Configuring_and_using_rxvt-unicode/
!     http://www.askapache.com/linux/rxvt-xresources/
!URxvt*termName: rxvt
URxvt*termName: rxvt-256color
!URxvt*background: #222222
URxvt*background: #1C1C1C
URxvt.color0:     #3f3f3f
URxvt.color1:     #705050
URxvt.color2:     #00b45a
URxvt.color3:     #dfcf8f
URxvt.color4:     #506070
URxvt.color5:     #dc8cc3
URxvt.color6:     #8cd0d3
URxvt.color7:     #dcdccc
URxvt.color8:     #709080
URxvt.color9:     #cc5454
URxvt.color10:    #4d9f4d
URxvt.color11:    #f0dfaf
URxvt.color12:    #4186be
URxvt.color13:    #ec93d3
URxvt.color14:    #93e0e3
URxvt.color15:    #ffffff

! Simple terminal configuration
!st-256color*font: xft:Terminus:pixelsize=14,xft:Inconsolata\ for\ Powerline:pixelsize=14
!stterm-256color*font: xft:Terminus:pixelsize=14,xft:Inconsolata\ for\ Powerline:pixelsize=14
!stterm*font: xft:Terminus:pixelsize=14,xft:Inconsolata\ for\ Powerline:pixelsize=14
!st.font: xft:Terminus:pixelsize=12,xft:Inconsolata\ for\ Powerline:pixelsize=12
st.background: #1C1C1C
st.foreground: white
st.cursorColor: white
st.font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-

! Terminal font with powerline support
URxvt*font: xft:Terminus:pixelsize=14,xft:Inconsolata\ for\ Powerline:pixelsize=14

! See https://wiki.archlinux.org/index.php/HiDPI#X_Resources
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium

! Dynamically increase/decrease font-size
!
! Note that you might want to resize the window once you change the font size.
! In Awesome Window Manager it can be done by setting window to fullscreen and
! then settting it back.
!
! See https://github.com/majutsushi/urxvt-font-size
URxvt.perl-ext-common: font-size

! In rxvt-unicode, M and m characters missing the left vertical stroke if buffering is enabled
! See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961362
!
! First solution: https://unix.stackexchange.com/a/118665
!
! Second solution: disable buffering. But that tends to leave garbage in the terminal.
!URxvt*buffered: false
!
! Third solution: increase letter spacing, see
! https://unix.stackexchange.com/questions/118641/font-rendering-issue-in-urxvt-too-much-space-between-characters
!URxvt.letterSpace: 1

! See https://github.com/muennich/sxiv
!     https://github.com/muennich/sxiv/pull/392 (pull request to toggle bar background)
Sxiv*background: #1C1C1C
Sxiv*foreground: #D0D0D0