.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 10 May 2012 19:28:44 +0300
changeset 450 6cdd17ad38c8
parent 449 63fe7a1ebae4
child 470 2d1f71f28130
permissions -rw-r--r--
Open HTML in Firefox.

#!/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