diff --git a/hosts/smol.toml b/hosts/smol.toml index 3570680..dadc500 100644 --- a/hosts/smol.toml +++ b/hosts/smol.toml @@ -1,3 +1,4 @@ +base16-scheme = "seti" ethernet = ["enp0s3"] disks = ["/"] outputs = [ diff --git a/install.py b/install.py index a1516a8..a173c05 100755 --- a/install.py +++ b/install.py @@ -61,6 +61,7 @@ def main(): host_config = toml.load(host_file) else: host_config = {} + host_config['name'] = args.hostname lookup = mako.lookup.TemplateLookup( directories=[ diff --git a/templates/.config/alacritty/alacritty.yml b/templates/.config/alacritty/alacritty.yml index 1c2284a..acbe1d2 100644 --- a/templates/.config/alacritty/alacritty.yml +++ b/templates/.config/alacritty/alacritty.yml @@ -12,7 +12,11 @@ font: italic: family: monospace style: Italic +% if host['name'] == 'smol': + size: 9 +% else: size: 8 +% endif ${get_base16('alacritty')}