diff options
-rw-r--r-- | scripts/xinitrc | 29 |
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 |