Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Customization Overview

Two-Face is highly customizable, allowing you to tailor every aspect of your gameplay experience.

Customization Areas

Two-Face can be customized in these areas:

AreaPurposeConfiguration
LayoutsWindow arrangementlayout.toml
ThemesColors and stylingcolors.toml
HighlightsText pattern matchinghighlights.toml
KeybindsKeyboard shortcutskeybinds.toml
SoundsAudio alertsPer-highlight
TTSText-to-speechconfig.toml

Quick Customization Commands

CommandOpens
.layoutLayout editor
.highlightsHighlight browser
.keybindsKeybind browser
.colorsColor palette browser
.themesTheme browser
.window <name>Window editor

Customization Guides

This section covers:

Per-Character Customization

Each character can have unique settings:

~/.two-face/
├── config.toml              # Global defaults
├── layout.toml              # Default layout
├── colors.toml              # Default colors
├── highlights.toml          # Default highlights
├── keybinds.toml            # Default keybinds
└── characters/
    └── MyCharacter/
        ├── layout.toml      # Character-specific layout
        ├── colors.toml      # Character-specific colors
        ├── highlights.toml  # Character-specific highlights
        └── keybinds.toml    # Character-specific keybinds

Configuration Loading Order

  1. Character-specific file (if exists)
  2. Global file (fallback)
  3. Embedded defaults (final fallback)

Example: Profession-Based Layouts

Create different layouts for different professions:

~/.two-face/characters/
├── Warrior/
│   └── layout.toml    # Combat-focused layout
├── Empath/
│   └── layout.toml    # Healing-focused layout
└── Wizard/
    └── layout.toml    # Spell-focused layout

Hot-Reloading

Many settings can be reloaded without restarting:

CommandReloads
.reload colorsColor configuration
.reload highlightsHighlight patterns
.reload keybindsKeyboard shortcuts
.reload layoutWindow layout
.reload configAll configuration

Backup Your Customizations

Before major changes:

# Backup all configuration
cp -r ~/.two-face ~/.two-face-backup

# Backup specific file
cp ~/.two-face/layout.toml ~/.two-face/layout.toml.bak

Sharing Customizations

Share your configurations with others:

  1. Export relevant .toml files
  2. Share via GitHub Gist, Discord, etc.
  3. Others can copy to their ~/.two-face/ directory

The Two-Face community shares layout packs:

  • Hunting layouts
  • Merchant layouts
  • Roleplay layouts
  • Accessibility layouts

Customization Tips

Start Simple

Begin with default settings and customize incrementally:

  1. Play with defaults for a few sessions
  2. Identify pain points
  3. Make one change at a time
  4. Test each change before moving on

Use the Editors

The built-in editors are often easier than editing files:

.layout          # Visual layout editor
.highlights      # Browse and edit highlights
.keybinds        # Browse and edit keybinds
.window main     # Edit main window properties

Keep Notes

Document your customizations:

# In any .toml file, add comments:

# Combat creature highlighting
# Red for dangerous, orange for normal
[creature_dangerous]
pattern = "(?i)\\b(dragon|lich|demon)\\b"
fg = "#FF0000"

Test in Safe Areas

Test new configurations in safe game areas before combat:

  1. Make changes
  2. Reload: .reload highlights
  3. Test with game output
  4. Adjust as needed

See Also