From c96a147d8e0aa929896a8a345423714dc0a3844d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 30 Nov 2015 01:42:03 +0100 Subject: [PATCH] Move all URxvt settings to their own config --- x11/.Xdefaults | 64 ----------------------- x11/.config/Xresources/URxvt.conf | 84 ++++++++++++++++++++++++++++++- 2 files changed, 83 insertions(+), 65 deletions(-) diff --git a/x11/.Xdefaults b/x11/.Xdefaults index fad8bd9..feb3a8a 100644 --- a/x11/.Xdefaults +++ b/x11/.Xdefaults @@ -28,70 +28,6 @@ #define fgpink #a85487 #include ".config/Xresources/URxvt.conf" - -urxvt.loginShell: true -urxvt.scrollBar: false -urxvt.secondaryScroll: true -urxvt.saveLines: 65535 -urxvt.cursorBlink: false -urxvt.cursorUnderline: true -urxvt.urgentOnBell: true -urxvt.termName: rxvt-256color -urxvt.visualBell: false -urxvt.letterSpace: -1 - -! urxvt.perl-lib: /home/slash/projects/urxvt-modeline/:/usr/lib/urxvt/perl/ -! urxvt.perl-ext-common: default,matcher -URxvt.perl-ext: default,url-select -urxvt.urlLauncher: conkeror -! urxvt.matcher.button: 1 - -! url-select -URxvt.keysym.M-u: perl:url-select:select_next -URxvt.url-select.launcher: /usr/bin/conkeror -URxvt.url-select.underline: true - -! urxvt.keysym.C-Delete: perl:matcher:last -! urxvt.keysym.M-Delete: perl:matcher:list -! URxvt.matcher.pattern.1: File\\ "(.*)",\\ line\\ (\\d+) -! urxvt.matcher.launcher.1: emacsclient -a emacs +$2 $1 - -urxvt.font: xft:Fantasque Sans Mono-13:weight=medium -urxvt.boldFont: xft:Fantasque Sans Mono-13:weight=bold -urxvt.italicFont: xft:Fantasque Sans Mono-13:slant=italic - -URxvt.modeline.fg: 15 -URxvt.modeline.bg: 12 -URxvt.modeline.command: urxvt-modeline - -urxvt.depth: 32 -urxvt.background: #111111 -urxvt.foreground: #bfbfbf - -urxvt.color0: #222222 -urxvt.color8: #3d3d3d - -urxvt.color1: #a85454 -urxvt.color9: #da9d9d - -urxvt.color2: #66a854 -urxvt.color10: #a9d39e - -urxvt.color3: #8d995c -urxvt.color11: #c2ca9e - -urxvt.color4: #5476a8 -urxvt.color12: #a2b8d8 - -urxvt.color5: #9754a8 -urxvt.color13: #d0a8da - -urxvt.color6: #54a8a8 -urxvt.color14: #abdddd - -urxvt.color7: #969696 -urxvt.color15: #ededed - #include ".config/Xresources/Emacs.conf" ! Emacs.font: DejaVu Sans Mono:weight=medium:pixelsize=18 diff --git a/x11/.config/Xresources/URxvt.conf b/x11/.config/Xresources/URxvt.conf index d8e2687..286ed4e 100644 --- a/x11/.config/Xresources/URxvt.conf +++ b/x11/.config/Xresources/URxvt.conf @@ -1,3 +1,85 @@ ! Instead of having the window manager add a border, add an internal ! border to Rxvt Unicode, for style! -urxvt.internalBorder: 15 +URxvt.internalBorder: 15 + +! Always start a login shell when URxvt starts. +URxvt.loginShell: true + +! 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 doesn't blink. Even though it's 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: -1 + +! Enable the url-select plugin along with the default plugins. +URxvt.perl-ext-common: default,url-select + +! Use Conkeror to open URLs +URxvt.url-launcher: conkeror + +! Use an excellent font. +URxvt.font: xft:Fantasque Sans Mono-13:weight=medium +URxvt.boldFont: xft:Fantasque Sans Mono-13:weight=bold +URxvt.italicFont: xft:Fantasque Sans Mono-13:slant=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: perl:url-select:select_next +URxvt.url-select.launcher: /usr/bin/conkeror +URxvt.url-select.underline: true + +!! Colors +URxvt.background: backgroundColor +URxvt.foreground: foregroundColor +! Black +URxvt.color0: bgdim +URxvt.color8: bgbright +! Red +URxvt.color1: fgred +URxvt.color9: #da9d9d +! Green +URxvt.color2: fggreen +URxvt.color10: #a9d39e +! Yellow +URxvt.color3: fgyellow +URxvt.color11: #c2ca9e +! Blue +URxvt.color4: fgblue +URxvt.color12: #a2b8d8 +! Magenta +URxvt.color5: fgmagenta +URxvt.color13: #d0a8da +! Cyan +URxvt.color6: fgcyan +URxvt.color14: #abdddd +! White +URxvt.color7: fgdim +URxvt.color15: fgbright