Skip to content
Browse files

configuration for X11

  • Loading branch information...
1 parent f5835dd commit 3eee6168c0c94cfe2f06643008548e39afe80d2f cloudhead committed
Showing with 110 additions and 0 deletions.
  1. +13 −0 Xmodmap
  2. +47 −0 Xresources
  3. +2 −0 Xsessions
  4. +48 −0 xinitrc
View
13 Xmodmap
@@ -0,0 +1,13 @@
+!
+! .Xmodmap
+!
+
+clear Mod1
+clear Mod2
+keycode 63 = Mode_switch
+
+! bind Alt key to Meta
+keycode 66 = Meta_L
+keycode 69 = Meta_R
+add Mod1 = Meta_L
+add Mod2 = Mode_switch
View
47 Xresources
@@ -0,0 +1,47 @@
+!
+! .Xresources
+!
+XTerm*customization: -color
+XTerm*ScrollBar: true
+XTerm*rightScrollBar: true
+XTerm*visualBell: false
+XTerm*saveLines: 4096
+
+XTerm*allowSendEvents: True
+XTerm*sessionMgt: false
+XTerm*eightBitInput: false
+XTerm*highlightSelection: true
+
+XTerm*termName: xterm-256color
+XTerm*loginShell: true
+XTerm*ttyModes: erase ^?
+
+! Font
+XTerm*faceName: Anonymous Pro
+XTerm*faceSize: 12
+
+! Color
+XTerm*foreground: white
+XTerm*background: black
+XTerm*cursorColor: darkred
+XTerm*borderColor: white
+XTerm*scrollColor: black
+XTerm*background: #000000
+XTerm*foreground: #efefcf
+XTerm*color0: #000000
+XTerm*color1: #9e1828
+XTerm*color2: #86ce47
+XTerm*color3: #ffec4e
+XTerm*color4: #414171
+XTerm*color5: #963c59
+XTerm*color6: #418179
+XTerm*color7: #bebebe
+XTerm*color8: #666666
+XTerm*color9: #cf3e3e
+XTerm*color10: #adf343
+XTerm*color11: #fff796
+XTerm*color12: #72d0e1
+XTerm*color13: #e078b5
+XTerm*color14: #71bebe
+XTerm*color15: #ffffff
+
View
2 Xsessions
@@ -0,0 +1,2 @@
+xrdb -merge .Xresources
+
View
48 xinitrc
@@ -0,0 +1,48 @@
+#!/bin/sh
+# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/X11/lib/X11/xinit/.Xresources
+sysmodmap=/usr/X11/lib/X11/xinit/.Xmodmap
+
+xmodmap -e "keycode 59 = BackSpace"
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ if [ -x /usr/bin/cpp ] ; then
+ xrdb -merge $sysresources
+ else
+ xrdb -nocpp -merge $sysresources
+ fi
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f "$userresources" ]; then
+ if [ -x /usr/bin/cpp ] ; then
+ xrdb -merge "$userresources"
+ else
+ xrdb -nocpp -merge "$userresources"
+ fi
+fi
+
+if [ -f "$usermodmap" ]; then
+ xmodmap "$usermodmap"
+fi
+
+source ~/.profile
+
+# start some nice programs
+if [ -d /usr/X11/lib/X11/xinit/xinitrc.d ] ; then
+ for f in /usr/X11/lib/X11/xinit/xinitrc.d/*.sh ; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+exec xmonad
+

0 comments on commit 3eee616

Please sign in to comment.
Something went wrong with that request. Please try again.