! ---| XBOARD |--- {{{

!Terminal colors
xboard*colorizeMessages: true
xboard*colorShout: green
xboard*colorSShout: green, default, 1
xboard*colorChannel1: cyan
xboard*colorChannel: cyan, default, 1
xboard*colorKibitz: magenta, default, 1
xboard*colorTell: yellow, blue, 1
xboard*colorChallenge: red, default, 1
xboard*colorRequest: red
xboard*colorNormal: default

!some personal settings
xboard*saveGameFile: /home/vico/iccgames.pgn
xboard*autoSaveGames: true
xboard*autoCallFlag: true
xboard*alwaysPromoteToQueen: true
xboard*pixmapDirectory: ~/.chessfig/dyche2
xboard*soundProgram: esdplay
xboard*boardSize: 51,01
!Board and pieces colors
xboard*whitePieceColor: #ffffd7
xboard*blackPieceColor: #1d1d1d
xboard*lightSquareColor: #ccbda4
xboard*darkSquareColor: #a88964
xboard*highlightSquareColor: yellow

!and finaly the buttons and clock
xboard*MenuButton*Justify:    left
!xboard*MenuButton*MenuButtonStyle: selecta
xboard*MenuButton*MenuButtonStyle: action
xboard*message*background: snow
!.xboard.ICS Input.normalLayout.form.text.background: snow
xboard*.form.text.background: snow
.xboard.normalLayout.form.menuBar.File.foreground: snow
.xboard.normalLayout.form.menuBar.File.background: #777777
.xboard.normalLayout.form.menuBar.Mode.foreground: snow
.xboard.normalLayout.form.menuBar.Mode.background: #777777
.xboard.normalLayout.form.menuBar.Action.foreground: snow
.xboard.normalLayout.form.menuBar.Action.background: orange3
.xboard.normalLayout.form.menuBar.Step.foreground: snow
.xboard.normalLayout.form.menuBar.Step.background: #777777
.xboard.normalLayout.form.menuBar.Options.foreground: snow
.xboard.normalLayout.form.menuBar.Options.background: #777777
.xboard.normalLayout.form.menuBar.Help.foreground: snow
.xboard.normalLayout.form.menuBar.Help.background: #777777
.xboard.normalLayout.form.buttonBar.Command.foreground: snow
.xboard.normalLayout.form.buttonBar.Command.background: #777777

xboard*clockFont: -jmk-neep-bold-*-*-*-24-*-*-*-*-*-*-*

!Keybindings for Xboard

XBoard*form.translations: \
Ctrl<Key>?: AboutProc() \n\
     <Key>y: AcceptProc() \n\
     <Key>n: DeclineProc() \n\
     <Key>r: RematchProc() \n\
     <Key>d: DrawProc() \n\
     <Key>Right: ForwardProc() \n\
     <Key>Left: BackwardProc() \n\
     <Key>b: BlindfoldProc()

!Xboard makes noises
!xboard*soundShout: /home/vico/.chessfig/sounds/shout.wav
!xboard*soundSShout: /home/vico/.chessfig/sounds/sshout.wav
!xboard*soundChannel1: /home/vico/.chessfig/sounds/channel1.wav
!xboard*soundChannel: /home/vico/.chessfig/sounds/channel.wav
!xboard*soundKibitz: /home/vico/.chessfig/sounds/kibitz.wav
xboard*soundTell: /home/vico/.chessfig/sounds/tell.wav
xboard*soundChallenge: /home/vico/.chessfig/sounds/challenge.wav
xboard*soundRequest: /home/vico/.chessfig/sounds/request.wav
xboard*soundSeek: /home/vico/.chessfig/sounds/seek.wav
xboard*soundMove: /home/vico/.chessfig/sounds/move.wav
xboard*soundIcsWin: /home/vico/.chessfig/sounds/win.wav
xboard*soundIcsLoss: /home/vico/.chessfig/sounds/lose.wav
xboard*soundIcsDraw: /home/vico/.chessfig/sounds/draw.wav
xboard*soundIcsUnfinished: /home/vico/.chessfig/sounds/unfinished.wav
xboard*soundIcsAlarm: /home/vico/.chessfig/sounds/alarm.wav

! geometry for the icc inputbox
.xboard.ICS Input.geometry: 548x78