From 5bb0014265536ee59a9d63625f716257bdd2785c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Apr 2020 21:01:48 -0700 Subject: Reorganize xsession and Xresources - Add xsession. Instead of requiring each of my machines to setup their own ‘.xsession’ add one that should work for all of them. - Use M4 for the Xresources database. I didn’t want the X11 project to be aware of all the configuration files that could be added in there and I was able to figure out how to have it load all of the configuration files in the ‘Xresources.d’ directory. Now each configuration can inject properties into the X resources database. - Have ‘.xsession’ load all of the scripts in ‘.config/X11/Xsession.d’. Each configuration can now inject some script to run when X starts. - Have ‘.xsession’ load a machine-specific script so that each machine can override what it does when X starts. --- urxvt/.config/X11/Xresources.d/URxvt.conf | 82 +++++++++++++++++++++++++++++++ urxvt/.config/Xresources/URxvt.conf | 82 ------------------------------- 2 files changed, 82 insertions(+), 82 deletions(-) create mode 100644 urxvt/.config/X11/Xresources.d/URxvt.conf delete mode 100644 urxvt/.config/Xresources/URxvt.conf (limited to 'urxvt') diff --git a/urxvt/.config/X11/Xresources.d/URxvt.conf b/urxvt/.config/X11/Xresources.d/URxvt.conf new file mode 100644 index 0000000..aabba41 --- /dev/null +++ b/urxvt/.config/X11/Xresources.d/URxvt.conf @@ -0,0 +1,82 @@ +! Instead of having the window manager add a border, add an internal +! border to Rxvt Unicode, for style! +URxvt.internalBorder: 15 + +! Do not start a login shell when URxvt starts. +URxvt.loginShell: false + +! Do not show a scrollbar. +URxvt.scrollBar: false + +! Save a lot of lines in the scrollback buffer. Possibly even the +! maximum. +URxvt.saveLines: 65535 + +! Make sure that the cursor does not blink. Even though it is the +! default, you can not be too careful. +URxvt.cursorBlink: false + +! Show the cursor as a horizontal bar (or underline) instead of a +! solid box. Too bad I can not use a vertical bar like in Emacs. +URxvt.cursorUnderline: true + +! Set the urgency WM hint when a bell character appears. +URxvt.urgentOnBell: true + +! Make sure that the termcap libraries know I am using a 256-color +! terminal emulator. +URxvt.termName: rxvt-256color + +! Make sure that no visual bell is used when a bell character appears. +! Again, this may be the default, but you can not be too careful. +URxvt.visualBell: false + +! URxvt seems to render letters much wider than, for example, Emacs by +! default. Fix it by setting the letterspace to a negative value. +! URxvt.letterSpace: -2 + +! Enable the url-select plugin along with the default plugins. Also +! enable the selection-to-clipboard plugin so that the primary +! selection gets added to the clipboard as well. +URxvt.perl-ext-common: default,url-select,selection-to-clipboard + +! Use Conkeror to open URLs +URxvt.url-launcher: conkeror + +! Use an excellent font. +URxvt.font: xft:Fantasque Sans Mono-15:weight=medium +URxvt.boldFont: xft:Fantasque Sans Mono-15:weight=bold +URxvt.italicFont: xft:Fantasque Sans Mono-15:weight=italic + +! Attempt to find a visual with the given bit depth. +URxvt.depth: 32 + +!! url-select Settings +! Activate URL selection mode with M-u (Alt+u, Meta+u). Open the links +! with Conkeror and show an underline under every URL found. +URxvt.keysym.M-u: url-select:select_next +URxvt.url-select.launcher: /usr/bin/conkeror +URxvt.url-select.underline: true + +!! Colors +URxvt.background: URxvt_background +URxvt.foreground: URxvt_foreground +URxvt.color0: URxvt_color0 +URxvt.color1: URxvt_color1 +URxvt.color2: URxvt_color2 +URxvt.color3: URxvt_color3 +URxvt.color4: URxvt_color4 +URxvt.color5: URxvt_color5 +URxvt.color6: URxvt_color6 +URxvt.color7: URxvt_color7 +URxvt.color8: URxvt_color8 +URxvt.color9: URxvt_color9 +URxvt.color10: URxvt_color10 +URxvt.color11: URxvt_color11 +URxvt.color12: URxvt_color12 +URxvt.color13: URxvt_color13 +URxvt.color14: URxvt_color14 +URxvt.color15: URxvt_color15 +URxvt.highlightColor: URxvt_highlightColor +URxvt.highlightTextColor: URxvt_highlightTextColor +URxvt.cursorColor: URXvt_cursorColor diff --git a/urxvt/.config/Xresources/URxvt.conf b/urxvt/.config/Xresources/URxvt.conf deleted file mode 100644 index aabba41..0000000 --- a/urxvt/.config/Xresources/URxvt.conf +++ /dev/null @@ -1,82 +0,0 @@ -! Instead of having the window manager add a border, add an internal -! border to Rxvt Unicode, for style! -URxvt.internalBorder: 15 - -! Do not start a login shell when URxvt starts. -URxvt.loginShell: false - -! Do not show a scrollbar. -URxvt.scrollBar: false - -! Save a lot of lines in the scrollback buffer. Possibly even the -! maximum. -URxvt.saveLines: 65535 - -! Make sure that the cursor does not blink. Even though it is the -! default, you can not be too careful. -URxvt.cursorBlink: false - -! Show the cursor as a horizontal bar (or underline) instead of a -! solid box. Too bad I can not use a vertical bar like in Emacs. -URxvt.cursorUnderline: true - -! Set the urgency WM hint when a bell character appears. -URxvt.urgentOnBell: true - -! Make sure that the termcap libraries know I am using a 256-color -! terminal emulator. -URxvt.termName: rxvt-256color - -! Make sure that no visual bell is used when a bell character appears. -! Again, this may be the default, but you can not be too careful. -URxvt.visualBell: false - -! URxvt seems to render letters much wider than, for example, Emacs by -! default. Fix it by setting the letterspace to a negative value. -! URxvt.letterSpace: -2 - -! Enable the url-select plugin along with the default plugins. Also -! enable the selection-to-clipboard plugin so that the primary -! selection gets added to the clipboard as well. -URxvt.perl-ext-common: default,url-select,selection-to-clipboard - -! Use Conkeror to open URLs -URxvt.url-launcher: conkeror - -! Use an excellent font. -URxvt.font: xft:Fantasque Sans Mono-15:weight=medium -URxvt.boldFont: xft:Fantasque Sans Mono-15:weight=bold -URxvt.italicFont: xft:Fantasque Sans Mono-15:weight=italic - -! Attempt to find a visual with the given bit depth. -URxvt.depth: 32 - -!! url-select Settings -! Activate URL selection mode with M-u (Alt+u, Meta+u). Open the links -! with Conkeror and show an underline under every URL found. -URxvt.keysym.M-u: url-select:select_next -URxvt.url-select.launcher: /usr/bin/conkeror -URxvt.url-select.underline: true - -!! Colors -URxvt.background: URxvt_background -URxvt.foreground: URxvt_foreground -URxvt.color0: URxvt_color0 -URxvt.color1: URxvt_color1 -URxvt.color2: URxvt_color2 -URxvt.color3: URxvt_color3 -URxvt.color4: URxvt_color4 -URxvt.color5: URxvt_color5 -URxvt.color6: URxvt_color6 -URxvt.color7: URxvt_color7 -URxvt.color8: URxvt_color8 -URxvt.color9: URxvt_color9 -URxvt.color10: URxvt_color10 -URxvt.color11: URxvt_color11 -URxvt.color12: URxvt_color12 -URxvt.color13: URxvt_color13 -URxvt.color14: URxvt_color14 -URxvt.color15: URxvt_color15 -URxvt.highlightColor: URxvt_highlightColor -URxvt.highlightTextColor: URxvt_highlightTextColor -URxvt.cursorColor: URXvt_cursorColor -- cgit v1.2.3-54-g00ecf