aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xinitrc
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-06-10 10:57:15 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-06-10 10:57:15 +0200
commit5797243207b6ba43b0e1960a02b768229900208b (patch)
treed015bd96f774ab2de5dd2cda8ee2b6915c6355bc /scripts/xinitrc
parent1f8e3becea5aae0c028f09086d25e8874e5565b5 (diff)
downloadXMonadContrib-5797243207b6ba43b0e1960a02b768229900208b.tar.gz
XMonadContrib-5797243207b6ba43b0e1960a02b768229900208b.tar.xz
XMonadContrib-5797243207b6ba43b0e1960a02b768229900208b.zip
example xinitrc
darcs-hash:20070610085715-9c5c1-ea414806906b5e4f6c8538da000359147baf0829.gz
Diffstat (limited to '')
-rw-r--r--scripts/xinitrc37
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/xinitrc b/scripts/xinitrc
new file mode 100644
index 0000000..90d0ae0
--- /dev/null
+++ b/scripts/xinitrc
@@ -0,0 +1,37 @@
+# .xinitrc
+
+xrdb $HOME/.Xresources
+xsetroot -cursor_name left_ptr
+
+xpmroot ~/.bg/ISS013-E-54329_lrg.xpm &
+
+# if we have private ssh key(s), start ssh-agent and add the key(s)
+id1=$HOME/.ssh/identity
+id2=$HOME/.ssh/id_dsa
+id3=$HOME/.ssh/id_rsa
+if [ -x /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 ];
+then
+ eval `ssh-agent -s`
+ ssh-add < /dev/null
+fi
+
+# some other things
+tpb -d &
+unclutter -idle 1 &
+
+xset fp+ /usr/local/lib/X11/fonts/terminus
+xset fp+ /usr/local/lib/X11/fonts/ghostscript
+# xset fp+ /usr/local/lib/X11/fonts/bitstream-vera
+# xset fp+ /usr/local/lib/X11/fonts/mscorefonts
+
+xset fp rehash
+xset b 100 0 0
+xset r rate 140 200
+
+xmodmap -e "keycode 233 = Page_Down"
+xmodmap -e "keycode 234 = Page_Up"
+xmodmap -e "remove Lock = Caps_Lock"
+xmodmap -e "keysym Caps_Lock = Control_L"
+xmodmap -e "add Control = Control_L"
+
+exec /home/dons/bin/run-xmonad.sh