Created
August 12, 2023 02:09
-
-
Save wolandark/2dc4199ad3cbcd9a111d6767c1ffcb55 to your computer and use it in GitHub Desktop.
Latest Xresources for Xterm and ST colors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! _ __ __ __ | |
!| | / /___ / /___ _____ ____/ / | |
!| | /| / / __ \/ / __ `/ __ \/ __ / | |
!| |/ |/ / /_/ / / /_/ / / / / /_/ / | |
!|__/|__/\____/_/\__,_/_/ /_/\__,_/ | |
! | |
! _ __ | |
! | |/ /________ _________ __ _______________ _____ | |
! | // ___/ _ \/ ___/ __ \/ / / / ___/ ___/ _ \/ ___/ | |
! / |/ / / __(__ ) /_/ / /_/ / / / /__/ __(__ ) | |
!/_/|_/_/ \___/____/\____/\__,_/_/ \___/\___/____/ | |
! | |
!========= | |
! Guide | | |
!========= | |
! | |
!(ctrl+plus = increase ; ctrl+minus = decrease, ctrl+0 = default) | |
! ctrl+shift+c ; ctrl+shift+v | |
! - open url (clickable links) | |
! 1) double click to highlight the full url | |
! 2) Shift + click it to open it | |
!select with mouth to copy to CLIPBOARD | |
!use Shift + middle mouse button to paste | |
! | |
!Scroll with mouse or Shift Pgup PgDn | |
! Allow xterm to report the TERM variable correctly. | |
! Do not set the TERM variable from your ~/.bashrc or ~/.bash_profile or similar file. | |
! The terminal itself should report the correct TERM to the system so that the proper terminfo file will be used. | |
! Two usable terminfo names are xterm and xterm-256color | |
!===============! | |
!=====Mocha=====! | |
!===============! | |
*.cursorColor: #e9e9f4 | |
*background: #1E1E2E | |
*foreground: #CDD6F4 | |
! black | |
*color0: #45475A | |
*color8: #585B70 | |
! red | |
*color1: #F38BA8 | |
*color9: #F38BA8 | |
! green | |
*color2: #A6E3A1 | |
*color10: #A6E3A1 | |
! yellow | |
*color3: #F9E2AF | |
*color11: #F9E2AF | |
! blue | |
*color4: #89B4FA | |
*color12: #89B4FA | |
! magenta | |
*color5: #F5C2E7 | |
*color13: #F5C2E7 | |
! cyan | |
*color6: #94E2D5 | |
*color14: #94E2D5 | |
! white | |
*color7: #BAC2DE | |
*color15: #A6ADC8 | |
!===============================================================! | |
!====================== Xterm Settings =========================! | |
!===============================================================! | |
!XTerm.termName: xterm-truecolor | |
XTerm.termName: xterm-256color | |
XTerm*transparent: true | |
!-------[ Fonts ]------- | |
XTerm*faceName: SauceCodeProNerdFont | |
XTerm*faceSize: 13 | |
! VT Font Menu: Unreadable | |
xterm*faceSize1: 10 | |
! VT font menu: Tiny | |
xterm*faceSize2: 11 | |
! VT font menu: Medium | |
xterm*faceSize3: 14 | |
! VT font menu: Large | |
xterm*faceSize4: 16 | |
! VT font menu: Huge | |
xterm*faceSize5: 18 | |
xterm*faceSize6: 20 | |
xterm*faceSize7: 22 | |
xterm*faceSize8: 24 | |
xterm*faceSize9: 26 | |
! Locale must be UTF-8 | |
XTerm.vt100.locale: true | |
!---------- [ Cursor ] ------------------ | |
! pointer and cursor (blinking and color) | |
XTerm*pointerColor: white | |
XTerm*pointerColorBackground: black | |
! XTerm*cursorColor: #EBD27D | |
! XTerm*cursorColor: white | |
XTerm*cursorBlink: false | |
!Bell | |
XTerm*bellIsUrgent: false | |
XTerm*bellOff: true | |
!! Selecting Text | |
! Only select text | |
XTerm*highlightSelection: true | |
! Remove trailing spaces | |
XTerm*trimSelection: true | |
!!------------ [Scrolling ]--------------- | |
! Lines that you can scroll back | |
XTerm*saveLines: 16384 | |
! Turn the scrollbar on, and put it on the right | |
! XTerm.vt100.scrollBar: true | |
! XTerm.vt100.scrollbar.width: 8 | |
! xterm*scrollBar: true | |
! xterm*rightScrollBar: true | |
! Do not scroll when there is new input e.g. tail -f /var/syslog | |
XTerm*scrollTtyOutput: false | |
!!-------------------[ Keybinding ]------------------- | |
XTerm.vt100.translations: #override \n\ | |
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) \n\ | |
Shift <Btn1Up>: exec-formatted("xdg-open '%t'", PRIMARY) \n\ | |
<Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ | |
<Btn2Up>: insert-selection(PRIMARY) | |
! enable copy/paste hotkey to work (shift+insert = paste ; mouse highlight = copy) | |
XTerm*selectToClipboard: true | |
! disable fullscreen hotkey alt+enter (hotkey conflicts with weechat, midnight commander ...etc) | |
XTerm*fullscreen: never | |
! enable alt key to work | |
XTerm*metaSendsEscape: true | |
! Fix the backspace key (for Emacs) | |
XTerm.vt100.backarrowKey: false | |
XTerm.ttyModes: erase ^? | |
! double-click to select whole URLs | |
XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48 | |
! Tips: Left and right selection (text selection using left button for beginning and right button for end) | |
! Tips: Triple Click ( 1 click = nothing, 2 click = select word, 3 click = select line ) | |
! | |
! XTerm*on3Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+ | |
XTerm*on3Clicks: regex ([[:alpha:]]+://)?([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+ | |
XTerm*vt100.Translations: #override\ | |
Shift <KeyPress> Home: scroll-to(begin) \n\ | |
Shift <KeyPress> End: scroll-to(end) \n\ | |
!==================================== | |
!===============UXTerm=============== | |
!==================================== | |
UXTerm*faceName: SauceCodeProNerdFont | |
UXTerm*faceSize: 13 | |
uxterm*faceSize1: 10 | |
uxterm*faceSize2: 11 | |
uxterm*faceSize3: 14 | |
uxterm*faceSize4: 16 | |
uxterm*faceSize5: 18 | |
uxterm*faceSize6: 20 | |
uxterm*faceSize7: 22 | |
uxterm*faceSize8: 24 | |
uxterm*faceSize9: 26 | |
uXTerm.vt100.locale: true | |
!!-------------------[ Keybinding ]------------------- | |
UXTerm.vt100.translations: #override \n\ | |
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) \n\ | |
Shift <Btn1Up>: exec-formatted("xdg-open '%t'", PRIMARY) \n\ | |
<Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ | |
<Btn2Up>: insert-selection(PRIMARY) | |
UXTerm*selectToClipboard: true | |
UXTerm*fullscreen: never | |
UXTerm*metaSendsEscape: true | |
UXTerm.vt100.backarrowKey: false | |
UXTerm.ttyModes: erase ^? | |
UXTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48 | |
UXTerm*on3Clicks: regex ([[:alpha:]]+://)?([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+ | |
UXTerm*vt100.Translations: #override\ | |
Shift <KeyPress> Home: scroll-to(begin) \n\ | |
Shift <KeyPress> End: scroll-to(end) \n\ | |
!---------- [ Cursor ] ------------------ | |
UXTerm*pointerColor: white | |
UXTerm*pointerColorBackground: black | |
! XTerm*cursorColor: #EBD27D | |
! XTerm*cursorColor: white | |
UXTerm*cursorBlink: false | |
UXTerm*bellIsUrgent: false | |
UXTerm*bellOff: true | |
UXTerm*highlightSelection: true | |
UXTerm*trimSelection: true | |
!!------------ [Scrolling ]--------------- | |
UXTerm*saveLines: 16384 | |
UXTerm*scrollTtyOutput: false | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment