#!/bin/sh

hostname=$(hostnamectl hostname)

# Run alacritty
if [[ $hostname = 'pavilion' ]]; then
    alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-pavilion.toml" $*
elif [[ $hostname = 'arch' ]]; then
    alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-desktop.toml" $*
fi
