summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-08-13 23:10:51 +0200
committerGravatar Tom Willemse2013-08-13 23:10:51 +0200
commit585e2b62b0f53f6ad7fea6e437abb50019c74dd5 (patch)
treee6df4f489f4004425e32a014735b87816d17692e
downloadx11-585e2b62b0f53f6ad7fea6e437abb50019c74dd5.tar.gz
x11-585e2b62b0f53f6ad7fea6e437abb50019c74dd5.zip
Initial commit of my x11 configuration in vcsh
-rw-r--r--.Xdefaults101
-rw-r--r--.Xmodmap5
-rwxr-xr-x.xinitrc19
-rwxr-xr-x.xsession3
4 files changed, 128 insertions, 0 deletions
diff --git a/.Xdefaults b/.Xdefaults
new file mode 100644
index 0000000..3dd9cdf
--- /dev/null
+++ b/.Xdefaults
@@ -0,0 +1,101 @@
+urxvt.internalBorder: 0
+
+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.perl-lib: /home/slash/projects/urxvt-modeline/:/usr/lib/urxvt/perl/
+urxvt.perl-ext-common: default,matcher,modeline
+urxvt.urlLauncher: conkeror
+urxvt.matcher.button: 1
+
+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:Liberation Mono:weight=medium:pixelsize=16
+urxvt.boldFont: xft:Liberation Mono:weight=bold:pixelsize=16
+urxvt.italicFont: xft:Liberation Mono:slant=italic:pixelsize=16
+
+URxvt.modeline.fg: 15
+URxvt.modeline.bg: 12
+URxvt.modeline.command: urxvt-modeline
+
+urxvt.depth: 32
+urxvt.background: #111111
+urxvt.foreground: #bfbfbf
+
+urxvt.color0: #111111
+urxvt.color8: #3d3d3d
+
+urxvt.color1: #a87e7e
+urxvt.color9: #a82a2a
+
+urxvt.color2: #87a87e
+urxvt.color10: #43a82a
+
+urxvt.color3: #a0a87e
+urxvt.color11: #bfa82a
+
+urxvt.color4: #7e8fa8
+urxvt.color12: #2a5da8
+
+urxvt.color5: #a07ea8
+urxvt.color13: #8f2aa8
+
+urxvt.color6: #7ea8a8
+urxvt.color14: #2aa8a8
+
+urxvt.color7: #969696
+urxvt.color15: #ededed
+
+Xft.antialias: true
+Xft.rgba: rgb
+Xft.hinting: true
+Xft.hintstyle: hintslight
+
+! Emacs.font: DejaVu Sans Mono:weight=medium:pixelsize=18
+Emacs.menuBar: off
+Emacs.toolbar: off
+Emacs.useXIM: off
+Emacs.background: #111113
+Emacs.borderWidth: 0
+Emacs.font: Liberation Mono-13
+Emacs.foreground: #eeeeec
+Emacs.internalBorder: 0
+Emacs.paneFont: Liberation Mono-13
+Emacs.pointerColor: #eeeeec
+Emacs*menu*font: Liberation Mono-13
+Emacs*menu*foreground: #eeeeec
+Emacs*menu*background: #222224
+Emacs*menu*buttonForeground: #a5a5a4
+Emacs*menu*verticalSpacing: 0
+Emacs*menu*shadowThickness: 1
+Emacs*menu*margin: 0
+Emacs.pane.menubar.translations: #override\
+ Ctrl <Key> n: down()\n\
+ Ctrl <Key> p: up()\n\
+ Ctrl <Key> f: right()\n\
+ Ctrl <Key> b: left()\n\
+
+xfontsel.sampleText: \
+static void print_sample_message(XWindow *win) {\n\
+ win.label->text = "Sample text 0123456789"\n\
+}
+
+xfontsel.sampleText16: \
+static void print_sample_message(XWindow *win) {\n\
+ win.label->text = "Sample text 0123456789"\n\
+}
+
+xfontsel.sampleTextUCS: \
+static void print_sample_message(XWindow *win) {\n\
+ win.label->text = "Sample text 0123456789"\n\
+}
diff --git a/.Xmodmap b/.Xmodmap
new file mode 100644
index 0000000..15f66e7
--- /dev/null
+++ b/.Xmodmap
@@ -0,0 +1,5 @@
+pointer = 3 2 1
+
+remove Mod5 = ISO_Level3_Shift
+keycode 108 = Alt_L
+add Mod1 = Alt_L
diff --git a/.xinitrc b/.xinitrc
new file mode 100755
index 0000000..bfc34c0
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+xmodmap ~/.Xmodmap
+
+# Source scripts in /etc/X11/xinit/xinitrc.d/
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+emacs --daemon &
+redshift -l 51.1180:4.0012 &
+unclutter &
+feh --bg-tile ~/pictures/wallpaper-424947.jpg
+
+test -n "$1" && wm=$1 || wm="/usr/local/bin/stumpwm"
+exec $wm
diff --git a/.xsession b/.xsession
new file mode 100755
index 0000000..8f554c5
--- /dev/null
+++ b/.xsession
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec /bin/bash --login -i "$HOME/.xinitrc"