Skip to content

Instantly share code, notes, and snippets.

@pope
Created March 15, 2010 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pope/332429 to your computer and use it in GitHub Desktop.
Save pope/332429 to your computer and use it in GitHub Desktop.
XTerm*faceName: Inconsolata
XTerm*faceSize: 11
#!/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
# 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
### 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
##
##twm &
##xclock -geometry 50x50-1+1 &
##xterm -geometry 80x50+494+51 &
##xterm -geometry 80x20+494-0 &
##exec xterm -geometry 80x66+0+0 -name login
/usr/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh
/usr/X11/lib/X11/xinit/xinitrc.d/50-modifier_repeat.sh
/usr/X11/lib/X11/xinit/xinitrc.d/98-user.sh
cd
source ~/.bashrc
exec quartz-wm --only-proxy &
/usr/local/bin/xmonad
clear Mod1
clear Mod2
keycode 63 = Mode_switch
keycode 66 = Meta_L
add Mod1 = Meta_L
add Mod2 = Mode_switch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment