Chaosforge Forum

DoomRL => Discussion => Topic started by: ParaSait on March 28, 2021, 14:48

Title: DoomRL on Alacritty
Post by: ParaSait on March 28, 2021, 14:48
The Linux version of DoomRL comes with launchers for 3 popular terminal emulators (xterm, gnome-terminal and konsole). However, I happen to like none of those, so I made my own for Alacritty, my terminal emulator of choice, which is hardware-accelerated and highly customizable. I made it so that it resembles DoomRL as I remember it (on Windows) as closely as possible. Perhaps this is interesting for others, so I wanted to share it...

Aside from Alacritty, you'll just need to have the Fixedsys Excelsior font installed. Then put the following files (the launcher and the according config file, respectively) in the DoomRL directory:

doomrl_alacritty
Code: [Select]
#!/bin/sh
set -eu

/usr/bin/alacritty --config-file ./doomrl_alacritty.yml -e ./doomrl -console

doomrl_alacritty.yml
Code: [Select]
env:
  TERM: xterm-256color
window:
  dimensions:
    columns: 80
    lines: 25
  title: DoomRL
  dynamic_title: false
font:
  normal:
    family: Fixedsys Excelsior
    style: Regular
  bold:
    family: Fixedsys Excelsior
    style: Regular
  italic:
    family: Fixedsys Excelsior
    style: Regular
  bold_italic:
    family: Fixedsys Excelsior
    style: Regular
  size: 24.0
colors:
  normal:
    black:   '#000000'
    red:     '#ff0000'
    green:   '#00ff00'
    yellow:  '#ffff00'
    blue:    '#0000ff'
    magenta: '#ff00ff'
    cyan:    '#00ffff'
    white:   '#ffffff'
cursor:
  style: Underline
  unfocused_hollow: false
  thickness: 0.1

I added some screenshots in the attachments.

Enjoy!