summaryrefslogtreecommitdiff
path: root/skel/.Xresources
diff options
context:
space:
mode:
Diffstat (limited to 'skel/.Xresources')
-rw-r--r--skel/.Xresources49
1 files changed, 49 insertions, 0 deletions
diff --git a/skel/.Xresources b/skel/.Xresources
new file mode 100644
index 0000000..6357760
--- /dev/null
+++ b/skel/.Xresources
@@ -0,0 +1,49 @@
+! xterm config
+! after changing contents, run xrdb -merge ~/.Xresources
+! or restart X
+! https://codeberg.org/merazi/xterm-config/raw/branch/xterm-config/Xresources
+! https://scarygliders.net/2011/12/01/customize-xterm-the-original-and-best-terminal
+! https://fak3r.com/2006/02/23/howto-usable-xterm-configuration
+! http://www.futurile.net/2016/06/14/xterm-setup-and-truetype-font-configuration
+! https://blog.rot13.org/2010/03/change-font-size-in-xterm-using-keyboard.html
+!
+! retabell 20221217
+
+! Use a truetype font and size
+xterm*faceName: Hack
+xterm*faceSize: 14
+!xterm*renderFont: true
+
+xterm.*.cursorBlink: true
+xterm.*.loginShell: true
+
+! improve colors
+xterm.*.colorMode: on
+xterm.*.dynamicColors: on
+
+! colors
+xterm.*.foreground: white
+xterm.*.background: black
+
+! copy & paste like the gnome shell
+xterm.VT100.translations: #override \n\
+Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
+Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
+Ctrl <Key>minus: smaller-vt-font() \n\
+Ctrl <Key>plus: larger-vt-font()
+
+! make the alt key behave normally
+xterm.*.metaSendsEscape: true
+
+! scrollback history
+xterm.*.saveLines: 4096
+
+! enable scrollbar
+xterm*ScrollBar: true
+xterm*rightScrollBar: true
+
+! smooth scrolling
+xterm*scrollTtyOutput: false
+
+! give xterm a voice
+xterm.*.bellIsUrgent: true