Facebook
From me, 3 Years ago, written in Bash.
Embed
Download Paste or View Raw
Hits: 179
  1. ! A quick way to add color to manual pages viewed on xterm/uxterm or rxvt-unicode is to modify ~/.Xresources.
  2. *VT100.colorBDMode:     true
  3. *VT100.colorBD:         red
  4. *VT100.colorULMode:     true
  5. *VT100.colorUL:         cyan
  6.  
  7. ! which replaces the decorations with the colors. Also add:
  8. *VT100.veryBoldColors:  6
  9. ! if you want colors and decorations (bold or underline) at the same time. See xterm(1) for a description of the veryBoldColors resource.
  10.  
  11.  
  12. !! -rxvt-unicode-256volot
  13. !!
  14. *.background:  #141c21
  15. *.color0:  #263640
  16. *.color1:  #d12f2c
  17. *.color10: #a4bd00
  18. *.color11: #d9a400
  19. *.color12: #2ca2f5
  20. *.color13: #8086e8
  21. *.color14: #33c5ba
  22. *.color15: #fdf6e3
  23. *.color2:  #819400
  24. *.color3:  #b08500
  25. *.color4:  #2587cc
  26. *.color5:  #696ebf
  27. *.color6:  #289c93
  28. *.color7:  #bfbaac
  29. *.color8:  #4a697d
  30. *.color9:  #fa3935
  31. *.cursorColor: #afbfbf
  32. *.foreground:  #93a1a1
  33.  
  34. !! Different stuff
  35.  
  36. URxvt.iconFile: /usr/share/icons/gnome/scalable/apps/utilities-terminal-symbolic.svg
  37. URxvt*background:   black
  38. URxvt*color12:  RoyalBlue
  39. URxvt*color4:   RoyalBlue
  40. URxvt*foreground:   white
  41. URxvt*scrollBar:    true
  42. URxvt*scrollBar_right:  true
  43. URxvt*shading:  40
  44. URxvt*thickness:    5
  45. URxvt*transparent:  false
  46. URxvt.copyCommand:  xclip -i -selection clipboard
  47. URxvt.iso14755: false
  48. URxvt.keysym.Control-Down:  \033[1;5B
  49. URxvt.keysym.Control-Left:  \033[1;5D
  50. URxvt.keysym.Control-Right: \033[1;5C
  51. URxvt.keysym.Control-Up:    \033[1;5A
  52.  
  53. ! Perl extensions
  54. URxvt.perl-ext-common:  default,matcher,selection-to-clipboard,url-select,clipboard,keyboard-select
  55.  
  56. !! Copy and Paste
  57. !URxvt.keysym.Control-u: perl:url-select:select_next
  58. !URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
  59. !URxvt.keysym.M-Escape:  perl:keyboard-select:activate
  60. !URxvt.keysym.M-c:   perl:clipboard:copy
  61. !URxvt.keysym.M-s:   perl:keyboard-select:search
  62. !URxvt.keysym.M-u:   perl:url-select:select_next
  63. !URxvt.keysym.M-v:   perl:clipboard:paste
  64.  
  65. !! Copy and Paste (simple version)
  66. URxvt.keysym.C-c:         perl:clipboard:copy
  67. URxvt.keysym.C-v:         perl:clipboard:paste
  68. URxvt.keysym.C-M-v:       perl:clipboard:paste_escaped
  69. URxvt.clipboard.copycmd:  xsel -ib
  70. URxvt.clipboard.pastecmd: xsel -ob
  71.  
  72. !Increase/decrease text
  73. URxvt.keysym.C-S-Up:          perl:font-size:increase
  74. URxvt.keysym.C-S-Down:        perl:font-size:decrease
  75.  
  76. URxvt.keysym.Shift-Down:    command:\033]721;1\007
  77. URxvt.keysym.Shift-Up:  command:\033]720;1\007
  78. URxvt.matcher.button:   1
  79. URxvt.matcher.rend.0:   Uline fg14
  80. URxvt.pasteCommand: xclip -o -selection clipboard
  81. URxvt.scrollstyle:  plain
  82. URxvt.underlineURLs:    true
  83. URxvt.urgentOnBell: true
  84.  
  85. ! URL lauincher
  86. URxvt.url-launcher: /usr/bin/firefox
  87. URxvt.url-select.launcher:  /usr/bin/xdg-open
  88. URxvt.url-select.underline: true
  89.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                URxvt.urlButton:    1
  90. URxvt.urlLauncher:  firefox
  91.  
  92. !! From https://morfikov.github.io/post/konfiguracja-terminala-urxvt/
  93.  
  94. !! Fonts
  95.  
  96. Xft.autohint:      false
  97. Xft.antialias:     true
  98. Xft.rgba:          none
  99. Xft.hinting:       true
  100. Xft.hintstyle:     hintslight
  101. Xft.lcdfilter:     lcddefault
  102. Xft.dpi:           96
  103.  
  104. *.font:           xft:Roboto Mono for Powerline:pixelsize=9:antialias=true:hinting=true
  105. *.boldFont:       xft:Roboto Mono for Powerline:bold:pixelsize=9:antialias=true:hinting=true
  106. *.italicFont:     xft::Roboto Mono for Powerline:italic:pixelsize= 9:antialias=true:hinting=true
  107. *.boldItalicFont: xft:Roboto Mono for Powerline:bold:italic:pixelsize=9:antialias=true:hinting=true
  108.  
  109. !! Scrolling
  110.  
  111. ! Seeing huge output of stuff like apt-get upgrade
  112. ! Terminal will buffer new messages and show them when needed
  113. URxvt*scrollTtyOutput: false
  114. URxvt*scrollWithBuffer: true
  115. ! After pressing any button get us to prompt
  116. URxvt*scrollTtyKeypress: true
  117. ! When there are many messages scroll window 60 times a second or when it is ful
  118. URxvt*jumpScroll: true
  119. URxvt*skipScroll: true
  120. !Mouse scrolls the whole page
  121. Rxvt*mouseWheelScrollPage: true
  122.        
  123. ! Border and wndow position
  124. ! TODO: full screem
  125. URxvt*borderLess: false
  126. URxvt*geometry: 147x39+100+207
  127.  
  128. ! Cursor and mouse pointer
  129. URxvt*cursorUnderline: false
  130. URxvt*cursorBlink: true
  131.  
  132. !Number of remembered line]
  133. URxvt*saveLines: 10200
  134.  
  135. ! Turn off iso14755 mo1de.tu allow using LShift/LCttr
  136. URxvt*iso14755: false
  137. URxvt*iso14755_52: false
  138.  
  139. ! Remove spaces between lines
  140. URxvt*lineSpace: 0
  141.  
  142. ! Do not use spacing between letters
  143. URxvt*letterSpace: -1
  144.