.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Apr 2012 13:07:00 +0300
changeset 442 a4d4a004bca7
parent 441 ee26e88369c2
child 449 63fe7a1ebae4
permissions -rw-r--r--
Move xsetroot back to '.xinitrc'.

#!/bin/bash

if [[ -f ~/.bash_path ]]; then
  . ~/.bash_path
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