Made a nice-looking setup on my Linux machine for best experience while playing PosChengband, and posted it on reddit. People seems to like it


#Open specific applications in floating mode for_window [class="Angband"] floating enable
#!/bin/bash
if [ "$1" == "" ]; then
echo 'Play which character?'
ls ~/.angband/PosChengband/save | grep 1000.* | sed 's/1000.//'
else
export ASAN_SYMBOLIZER_PATH='/usr/bin/llvm-symbolizer'
# FONTS (get a lit by running xlsfonts | grep terminus)
export ANGBAND_X11_FONT_0='-xos4-terminus-bold-r-normal--14-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_1='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_2='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_3='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_4='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_5='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_6='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
export ANGBAND_X11_FONT_7='-xos4-terminus-medium-r-normal--12-*-*-*-c-*-iso8859-1'
# WINDOWS
# main window position
export ANGBAND_X11_AT_X_0=400
export ANGBAND_X11_AT_Y_0=20
export ANGBAND_X11_ROWS_0=61
export ANGBAND_X11_COLS_0=138
# LEFT PANE TERMINALS
# term 1 position
export ANGBAND_X11_AT_X_1=20
export ANGBAND_X11_AT_Y_1=20
export ANGBAND_X11_ROWS_1=30
export ANGBAND_X11_COLS_1=60
# term 2 position
export ANGBAND_X11_AT_X_2=20
export ANGBAND_X11_AT_Y_2=400
export ANGBAND_X11_ROWS_2=30
export ANGBAND_X11_COLS_2=60
# term 3 position
export ANGBAND_X11_AT_X_3=20
export ANGBAND_X11_AT_Y_3=780
export ANGBAND_X11_ROWS_3=30
export ANGBAND_X11_COLS_3=60
# RIGHT PANE TERMINALS
# term 4 position
export ANGBAND_X11_AT_X_4=1530
export ANGBAND_X11_AT_Y_4=20
export ANGBAND_X11_ROWS_4=30
export ANGBAND_X11_COLS_4=60
# term 5 position
export ANGBAND_X11_AT_X_5=1530
export ANGBAND_X11_AT_Y_5=400
export ANGBAND_X11_ROWS_5=30
export ANGBAND_X11_COLS_5=60
# term 6 position
export ANGBAND_X11_AT_X_6=1530
export ANGBAND_X11_AT_Y_6=780
export ANGBAND_X11_ROWS_6=30
export ANGBAND_X11_COLS_6=60
# MESSAGE PANE
# term 7 position
export ANGBAND_X11_AT_X_7=402
export ANGBAND_X11_AT_Y_7=900
export ANGBAND_X11_ROWS_7=20
export ANGBAND_X11_COLS_7=183
#RUN GAME
./poschengband -- -u$1 -- -n8
fi
Comment