3 # startx configuration file.
6 # Start ssh-agent if we have private keys, thanks to
7 # http://code.haskell.org/XMonadContrib/scripts/xinitrc (read on 2011-06-19).
8 if [ -x /usr/bin/ssh-agent -a -f "$HOME/.ssh/id_rsa" ]; then
9 # -s to force bourne shell output. This file is a bourne shell script even
10 # if the environment might suggest otherwise.
11 eval `/usr/bin/ssh-agent -s`
14 # Use a black background for the root window.
17 # Force English keyboard layout.
18 if [ -x /usr/bin/setxkbmap ]; then
22 # Use my X11 key bindings.
25 # Change the background if available.
26 if [ -f ~/.background ]; then
27 # But not on slow machines in the university.
29 if [ "x`echo $HOSTNAME | grep faui0sr`" = x ]; then
30 if [ -x /usr/bin/hsetroot ]; then
31 hsetroot -full ~/.background
32 elif [ -x /usr/bin/feh ]; then
33 feh --bg-scale ~/.background
39 if [ -x /usr/bin/remind -a -f ~/.reminders ]; then
40 remind -z1 -k'.shell/bin/notify.py %s &' ~/.reminders &