Reads .xinitrc-local if it exists. There's a hook start-clients-local
for adding local things. For example, crybaby wants a bunch of laptop-
related goodies such as nm-applet and gnome-power-manager.
###--------------------------------------------------------------------------
### Random useful clients.
###--------------------------------------------------------------------------
### Random useful clients.
+start-clients-local () { :; }
+
start-clients () {
## Mail notification.
run bginit mail-notification
start-clients () {
## Mail notification.
run bginit mail-notification
## Panel.
case $vnc in no) run bginit gnome-panel ;; esac
## Panel.
case $vnc in no) run bginit gnome-panel ;; esac
+
+ ## Local clients.
+ start-clients-local
}
###--------------------------------------------------------------------------
}
###--------------------------------------------------------------------------
###--------------------------------------------------------------------------
### Actually start things up.
###--------------------------------------------------------------------------
### Actually start things up.
+if [ -f $HOME/.xinitrc-local ]; then
+ . $HOME/.xinitrc-local
+fi
+
case "$start" in
yes)
info "starting standard clients"
case "$start" in
yes)
info "starting standard clients"