.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 09 May 2012 22:39:39 +0300
changeset 449 63fe7a1ebae4
parent 442 a4d4a004bca7
child 470 2d1f71f28130
permissions -rw-r--r--
Load custom settings (user editable).

#!/bin/bash

if [[ -f ~/.bash_path ]]; then
  . ~/.bash_path
fi
# Load custom settings (user editable).
if [[ -f ~/.bash_custom ]]; then
  . ~/.bash_custom
fi

xrdb -merge ~/.Xdefaults
# xrdb -load ~/.Xdefaults

# Under Cygwin I prefer '-multiwindow' option, so it needn't to setup WM.
if [[ -z $COMSPEC ]]; then
  xmodmap ~/.xmodmaprc
  xsetroot -gray
  fvwm &
fi

# Last command.
exec xterm -geometry 80x42 -e bash -i