aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-08-29 15:29:00 +0200
committerGravatar Tom Willemse2016-08-29 15:29:00 +0200
commita5a1aac25c525aa7816685322526c9582a4942ee (patch)
tree394f26c5a309b83f1090a54eaa3f7247ed917dd3
parentecf3ec65339a624aebddd0127c9e4ecd5c01b619 (diff)
downloadnew-dotfiles-a5a1aac25c525aa7816685322526c9582a4942ee.tar.gz
new-dotfiles-a5a1aac25c525aa7816685322526c9582a4942ee.zip
Add URxvt config
-rw-r--r--urxvt/.config/Xresources/URxvt.conf79
-rw-r--r--x11/.Xresources2
-rw-r--r--x11/.config/Xresources/theme.conf68
3 files changed, 149 insertions, 0 deletions
diff --git a/urxvt/.config/Xresources/URxvt.conf b/urxvt/.config/Xresources/URxvt.conf
new file mode 100644
index 0000000..3158f5b
--- /dev/null
+++ b/urxvt/.config/Xresources/URxvt.conf
@@ -0,0 +1,79 @@
+! 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.
+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-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
diff --git a/x11/.Xresources b/x11/.Xresources
index f7876cb..fa912b4 100644
--- a/x11/.Xresources
+++ b/x11/.Xresources
@@ -1 +1,3 @@
+#include ".config/Xresources/theme.conf"
#include ".config/Xresources/Rofi.conf"
+#include ".config/Xresources/URxvt.conf"
diff --git a/x11/.config/Xresources/theme.conf b/x11/.config/Xresources/theme.conf
new file mode 100644
index 0000000..031bb75
--- /dev/null
+++ b/x11/.config/Xresources/theme.conf
@@ -0,0 +1,68 @@
+!! Background colors
+#define bgdefault #111111
+#define bgbright #3d3d3d
+#define bgdim #222222
+#define bgred #3f1a1a
+#define bgorange #3f321f
+#define bgyellow #343922
+#define bggreen #263f1f
+#define bgturquoise #1f3f2c
+#define bgcyan #1f3f3f
+#define bgblue #1f2c3f
+#define bgpurple #2f2a3f
+#define bgmagenta #381f3f
+#define bgpink #3f1f32
+
+!! Foreground colors
+#define fgdefault #bfbfbf
+#define fgbright #ededed
+#define fgdim #969696
+#define fgred #a85454
+#define fgorange #a88654
+#define fgyellow #8d995c
+#define fggreen #65a854
+#define fgturquoise #54a875
+#define fgcyan #54a8a8
+#define fgblue #5476a8
+#define fgpurple #7d71a8
+#define fgmagenta #9754a8
+#define fgpink #a85487
+
+!! URxvt colors
+#define URxvt_background bgdefault
+#define URxvt_foreground fgdefault
+! BG Black
+#define URxvt_color0 bgdim
+! BG Red
+#define URxvt_color1 fgred
+! BG Green
+#define URxvt_color2 fggreen
+! BG Yellow
+#define URxvt_color3 fgyellow
+! BG Blue
+#define URxvt_color4 fgblue
+! BG Magenta
+#define URxvt_color5 fgmagenta
+! BG Cyan
+#define URxvt_color6 fgcyan
+! BG White
+#define URxvt_color7 fgdim
+! FG Black
+#define URxvt_color8 bgbright
+! FG Red
+#define URxvt_color9 #da9d9d
+! FG Green
+#define URxvt_color10 #a9d39e
+! FG Yellow
+#define URxvt_color11 #c2ca9e
+! FG Blue
+#define URxvt_color12 #a2b8d8
+! FG Magenta
+#define URxvt_color13 #d0a8da
+! FG Cyan
+#define URxvt_color14 #abdddd
+! FG White
+#define URxvt_color15 fgbright
+! Selection highlight
+#define URxvt_highlightColor bgblue
+#define URxvt_highlightTextColor fgdefault