diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2023-02-11 06:04:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2023-02-11 06:04:32 +1300 |
commit | 5fd69be17bb02276be3d56f4a20a9c1aec86262d (patch) | |
tree | 9d8fa30bc7d6d00444dd71a083f0aa2c41997ba5 | |
parent | Simplify xterm selection group configuring (diff) | |
download | dotfiles-5fd69be17bb02276be3d56f4a20a9c1aec86262d.tar.gz dotfiles-5fd69be17bb02276be3d56f4a20a9c1aec86262d.zip |
Improve comments in X resources file
Using C-style comment blocks like /*...*/ is both more legible and
doesn't cause problems with apostrophes (!)
-rw-r--r-- | x/Xresources | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/x/Xresources b/x/Xresources index ae7f8ab1..8d8dc048 100644 --- a/x/Xresources +++ b/x/Xresources @@ -1,7 +1,21 @@ -! XTerm +/* Declare our xterms have 256 colors */ XTerm.termName: xterm-256color + +/* Flash my window manager if a BEL is sounded in an xterm */ XTerm.vt100.bellIsUrgent: true + +/** + * Stick all of the non-control ASCII characters into the same xterm selection + * group as the alphanumeric ones added by default, except for space and the + * left and right angle brackets (less-than and greater-than), because being + * able to click URLs quickly outweighs anything else. + */ XTerm.vt100.charClass: 33-126:48,60:60,61:48,62:60 + +/** + * Set some less harsh colors than the xterm defaults; I think I got these from + * somewhere else and tweaked them, but I can't remember where it was now. + */ XTerm.vt100.background: #030303 XTerm.vt100.foreground: #E0E0E0 XTerm.vt100.color0: #030303 |