.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Apr 2012 13:04:19 +0300
changeset 441 ee26e88369c2
parent 438 65413b4c91ba
child 442 a4d4a004bca7
permissions -rw-r--r--
I move lang switch to FVWM config.

#!/bin/bash

if [[ -f ~/.bash_path ]]; then
  . ~/.bash_path
fi

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

# Root window parameter.
# Color names check from /etc/X11/rgb.txt or enter in hex: #aabbcc.
# xsetroot -gray -fg red -bg white
# xsetroot -bitmap dir/file.bitmap -fg red -bg white
# xsetroot -mod 3 3 -fg red -bg white

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

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