#!/usr/bin/env bash

read input

case "$input" in
    "liiph@proton.me")
        cat ~/.config/aerc/sigs/liph.txt
        ;;
    "liiph@protonmail.com")
        cat ~/.config/aerc/sigs/liph.txt
        ;;
    "liiph@pm.me")
        cat ~/.config/aerc/sigs/liph.txt
        ;;
    "ph.waibel@proton.me")
        cat ~/.config/aerc/sigs/formal.txt
        ;;
    "ph.waibel@pm.me")
        cat ~/.config/aerc/sigs/phil.txt
        ;;
    *)
        # Default signature if no match
        cat ~/.config/aerc/sigs/default.txt
        ;;
esac
