aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2007-11-15 23:57:04 +0100
committerDon Stewart <dons@galois.com>2007-11-15 23:57:04 +0100
commit10e29bf71582d065f45e215d1a36f9f94723f603 (patch)
tree4029298d4de489a667269d0ea6ecc141b8e3c160 /scripts
parentc9dfd0f164b916ae79503c2335144b333319aace (diff)
downloadXMonadContrib-10e29bf71582d065f45e215d1a36f9f94723f603.tar.gz
XMonadContrib-10e29bf71582d065f45e215d1a36f9f94723f603.tar.xz
XMonadContrib-10e29bf71582d065f45e215d1a36f9f94723f603.zip
update run xmonad script
darcs-hash:20071115225704-cba2c-76f242e35727ff27907a4dfda99e6aced52e8fe9.gz
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xinitrc29
1 files changed, 19 insertions, 10 deletions
diff --git a/scripts/xinitrc b/scripts/xinitrc
index 03621fb..ae49a74 100644
--- a/scripts/xinitrc
+++ b/scripts/xinitrc
@@ -1,9 +1,10 @@
# .xinitrc
+xrandr -s 0
+
xrdb $HOME/.Xresources
xsetroot -cursor_name left_ptr
-
-xpmroot ~/.bg/ISS013-E-54329_lrg.xpm &
+xsetroot -solid '#80a0af'
# if we have private ssh key(s), start ssh-agent and add the key(s)
id1=$HOME/.ssh/identity
@@ -15,16 +16,11 @@ then
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+ /usr/X11R6/lib/X11/fonts/TTF/
-xset fp rehash
+# xset fp rehash
xset b 100 0 0
xset r rate 140 200
@@ -34,4 +30,17 @@ xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "keysym Caps_Lock = Control_L"
xmodmap -e "add Control = Control_L"
-/home/dons/bin/run-xmonad.sh
+PATH=/home/dons/bin:$PATH
+
+# launch the external 60 second clock, and launch the workspace status bar
+FG='#a8a3f7'
+BG='#3f3c6d'
+xmonad-clock | dzen2 -e '' -x 400 -w 1200 -ta r -fg $FG -bg $BG &
+
+xmonad &
+
+# wait for xmonad
+wait $!
+pkill -HUP dzen2
+pkill -HUP -f xmonad-clock
+wait