From df10c69a50c0b98cfe05b27eddbefaf6c34b0393 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 16 Nov 2021 11:32:37 +0200 Subject: Initial XTerm configuration --- .Xresources | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) (limited to '.Xresources') diff --git a/.Xresources b/.Xresources index b3004fa..7f8a212 100644 --- a/.Xresources +++ b/.Xresources @@ -1,2 +1,77 @@ -xlogin*geometry: 300x250-0-0 +xlogin*geometry: 300x300-0-0 +!! Xterm + +xterm*termName: xterm-256color +xterm*saveLines: 16384 +! Fixes Ctrl+Backspace not working with .vimrc +! Thanks to https://unix.stackexchange.com/a/249824/416793 +! XTerm*ptyInitialErase: true +XTerm*backarrowKey: false + +! Font + +xterm*font: xft:MesloLGS NF:pixelsize=15:antialias=true +xterm*renderFont: true + +Xft.dpi: 96 + +xterm*cursorBlink: true +xterm*cursorOnTime: 500 +xterm*cursorOffTime: 500 + +xterm*loginShell: true + + +! Turn the scrollbar on, and put it on the right +xterm*scrollBar: true +xterm*rightScrollBar: true + +xterm*mouseWheelScrollPage: true + +xterm*selectToClipboard: true +xterm*VT100.Translations: #override \ + Ctrl minus: smaller-vt-font() \n\ + Ctrl plus: larger-vt-font() \n\ + Ctrl 0: set-vt-font(d) + +! Gruvbox Theme {{{ + +! ----------------------------------------------------------------------------- +! File: gruvbox-dark.xresources +! Description: Retro groove colorscheme generalized +! Author: morhetz +! Source: https://github.com/morhetz/gruvbox-generalized +! Last Modified: 6 Sep 2014 +! ----------------------------------------------------------------------------- + +! hard contrast: *background: #1d2021 +*background: #282828 +! soft contrast: *background: #32302f +*foreground: #ebdbb2 +! Black + DarkGrey +*color0: #282828 +*color8: #928374 +! DarkRed + Red +*color1: #cc241d +*color9: #fb4934 +! DarkGreen + Green +*color2: #98971a +*color10: #b8bb26 +! DarkYellow + Yellow +*color3: #d79921 +*color11: #fabd2f +! DarkBlue + Blue +*color4: #458588 +*color12: #83a598 +! DarkMagenta + Magenta +*color5: #b16286 +*color13: #d3869b +! DarkCyan + Cyan +*color6: #689d6a +*color14: #8ec07c +! LightGrey + White +*color7: #a89984 +*color15: #ebdbb2 + +! }}} -- cgit v1.2.3