commit 22f4e21da95abfedc0feaee660c6af41b09109a3
parent c4ee6cf70533ca47926390f5623ffc00f1f44ba9
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 23 Dec 2013 14:40:25 +0100
Added light/dark URXVT themes and image scale script
Diffstat:
10 files changed, 214 insertions(+), 6 deletions(-)
diff --git a/.Xdefaults-light b/.Xdefaults-light
@@ -0,0 +1,197 @@
+! Xcursor --------------------------------------------------------------------
+Xcursor.theme: Vanilla-DMZ-AA
+Xcursor.size: 22
+
+! terminal colors ------------------------------------------------------------
+
+!! tangoesque scheme
+!*background: #041621
+!*foreground: #babdb6
+!! Black (not tango) + DarkGrey
+!*color0: #000000
+!*color8: #555753
+!! DarkRed + Red
+!*color1: #ff6565
+!*color9: #ff8d8d
+!! DarkGreen + Green
+!*color2: #93d44f
+!*color10: #c8e7a8
+!! DarkYellow + Yellow
+!*color3: #eab93d
+!*color11: #ffc123
+!! DarkBlue + Blue
+!*color4: #204a87
+!*color12: #3465a4
+!! DarkMangenta + Mangenta
+!*color5: #ce5c00
+!*color13: #f57900
+!!DarkCyan + Cyan (both not tango)
+!*color6: #89b6e2
+!*color14: #46a4ff
+!! LightGrey + White
+!*color7: #cccccc
+!*color15: #ffffff
+
+! Solarized color scheme for the X Window System
+! http://ethanschoonover.com/solarized
+
+! Common
+#define S_yellow #b58900
+#define S_orange #cb4b16
+#define S_red #dc322f
+#define S_magenta #d33682
+#define S_violet #6c71c4
+#define S_blue #268bd2
+#define S_cyan #2aa198
+#define S_green #859900
+
+! Dark
+! #define S_base03 #002b36
+! #define S_base02 #073642
+! #define S_base01 #586e75
+! #define S_base00 #657b83
+! #define S_base0 #839496
+! #define S_base1 #93a1a1
+! #define S_base2 #eee8d5
+! #define S_base3 #fdf6e3
+
+! Light
+#define S_base03 #fdf6e3
+#define S_base02 #eee8d5
+#define S_base01 #93a1a1
+#define S_base00 #839496
+#define S_base0 #657b83
+#define S_base1 #586e75
+#define S_base2 #073642
+#define S_base3 #002b36
+
+! To only apply colors to your terminal, for example, prefix
+! the color assignment statement with its name. Example:
+! URxvt*background: S_base03
+URxvt*background: S_base03
+URxvt*foreground: S_base0
+!*fading: 40
+URxvt*fadeColor: S_base03
+!*cursorColor: S_base1
+URxvt*cursorColor: $DCDCCC
+URxvt*pointerColorBackground: S_base01
+URxvt*pointerColorForeground: S_base1
+
+URxvt*color0: S_base02
+URxvt*color1: S_red
+URxvt*color2: S_green
+URxvt*color3: S_yellow
+URxvt*color4: S_blue
+URxvt*color5: S_magenta
+URxvt*color6: S_cyan
+URxvt*color7: S_base2
+URxvt*color8: S_base03
+URxvt*color9: S_orange
+URxvt*color10: S_base01
+URxvt*color11: S_base00
+URxvt*color12: S_base0
+URxvt*color13: S_violet
+URxvt*color14: S_base1
+URxvt*color15: S_base3
+
+
+! xterm ----------------------------------------------------------------------
+!xterm*background: black
+!xterm*background: black
+!xterm*foreground: white
+xterm*termName: xterm-256color
+!xterm*geometry: 80x25
+!!xterm*faceName: terminus:bold:pixelsize=11
+!!!xterm*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
+!xterm*faceName: SourceCodePro-Regular
+!xterm*faceSize: 11
+!xterm*font: 7x13
+!xterm*font: 8x15
+!!xterm*dynamicColors: true
+!!!xterm*metaSendsEscape: true
+!!!xterm*eightBitInput: false
+!!!xterm*eightBitControl: false
+!!!xterm*eightBitOutput: true
+
+!xterm*utf8: 1
+xterm*utf8: 2
+xterm*eightBitInput: true
+
+xterm*saveLines: 1024
+!xterm*scrollKey: true
+!xterm*scrollTtyOutput: false
+!!xterm*scrollBar: true
+!xterm*rightScrollBar: true
+!xterm*jumpScroll: true
+!xterm*multiScroll: true
+!xterm*toolBar: false
+
+! xpdf -----------------------------------------------------------------------
+xpdf*enableFreetype: yes
+xpdf*antialias: yes
+xpdf*foreground: black
+xpdf*background: white
+xpdf*matteColor: gray
+xpdf*urlCommand: /usr/bin/firefox %s
+
+! rxvt-unicode ---------------------------------------------------------------
+URxvt.termName:screen-256color
+!URxvt.termName:rxvt-256color
+!URxvt.transparent: true
+! URxvt.shading: 0 to 99 darkens, 101 to 200 lightens
+!URxvt.shading: 20
+! scrollbar style - rxvt (default), plain (most compact), next, or xterm
+!URxvt.scrollstyle: rxvt
+URxvt.internalBorder: 1
+!URxvt.loginShell: true
+URxvt.scrollBar: off
+!URxvt.font: 7x13euro
+!URxvf.font: 8x13
+! tabs and clickable URLs
+!URxvt.perl-ext-common: default,tabbed,matcher
+URxvt.perl-ext-common: default,matcher
+URxvt.urlLauncher: /usr/bin/firefox
+URxvt.matcher.button: 1
+! tab colors
+!URxvt.tabbed.tabbar-fg: 2
+!URxvt.tabbed.tabbar-bg: 0
+!URxvt.tabbed.tab-fg: 3
+!URxvt.tabbed.tab-bg: 0
+! colors
+!URxvt.foreground: White
+!URxvt.background: Black
+!URxvt.saveLines: 1024
+URxvt.meta8: True
+URxvt.intensityStyles: false
+!Xft.dpi: 81
+!Xft.dpi: 100
+!URxvt.font: xft:SourceCodePro-Light:pixelsize=11
+
+! xscreensaver ---------------------------------------------------------------
+!font settings
+xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
+xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
+xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
+xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
+xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
+xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
+xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
+!general dialog box (affects main hostname, username, password text)
+xscreensaver.Dialog.foreground: #ffffff
+xscreensaver.Dialog.background: #111111
+xscreensaver.Dialog.topShadowColor: #111111
+xscreensaver.Dialog.bottomShadowColor: #111111
+xscreensaver.Dialog.Button.foreground: #666666
+xscreensaver.Dialog.Button.background: #ffffff
+!username/password input box and date text colour
+xscreensaver.Dialog.text.foreground: #666666
+xscreensaver.Dialog.text.background: #ffffff
+xscreensaver.Dialog.internalBorderWidth:24
+xscreensaver.Dialog.borderWidth: 20
+xscreensaver.Dialog.shadowThickness: 2
+!timeout bar (background is actually determined by Dialog.text.background)
+xscreensaver.passwd.thermometer.foreground: #ff0000
+xscreensaver.passwd.thermometer.background: #000000
+xscreensaver.passwd.thermometer.width: 8
+!datestamp format--see the strftime(3) manual page for details
+xscreensaver.dateFormat: %I:%M%P %a %b %d, %Y
diff --git a/.vim/bundle/ctrlp.vim b/.vim/bundle/ctrlp.vim
@@ -1 +0,0 @@
-Subproject commit b5d3fe66a58a13d2ff8b6391f4387608496a030f
diff --git a/.vim/bundle/nerdtree b/.vim/bundle/nerdtree
@@ -1 +0,0 @@
-Subproject commit b0bb781fc73ef40365e4c996a16f04368d64fc9d
diff --git a/.vim/bundle/syntastic b/.vim/bundle/syntastic
@@ -1 +0,0 @@
-Subproject commit 3a03fee48c24d0116c529769664750a43a206ee7
diff --git a/.vim/bundle/vim-colors-solarized b/.vim/bundle/vim-colors-solarized
@@ -1 +0,0 @@
-Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21
diff --git a/.vim/bundle/vim-powerline b/.vim/bundle/vim-powerline
@@ -1 +0,0 @@
-Subproject commit 09c0cea859a2e0989eea740655b35976d951a84e
diff --git a/.vim/bundle/vundle b/.vim/bundle/vundle
@@ -1 +0,0 @@
-Subproject commit c3ec8796944a372c6d44496ad6113e7d2e74331e
diff --git a/bin/dark.sh b/bin/dark.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrdb ~/.Xdefaults
diff --git a/bin/light.sh b/bin/light.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrdb ~/.Xdefaults-light
diff --git a/bin/scale.sh b/bin/scale.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+if [[ "$1" == "-h" || "$1" == "--help" ]]; then
+ echo "Scale image sizes using Imagemagick's convert command."
+ echo "Usage: $0 <PERCENTAGE>% <FILE[S]>"
+ exit 0
+fi
+
+for f in "$@"; do
+ if [[ "$f" != *% ]]; then
+ echo $f
+ convert $f -resize $1 scaled-$f
+ fi
+done