diff options
Diffstat (limited to 'dots/theme')
-rw-r--r-- | dots/theme/.config/theme/alacritty.toml | 4 | ||||
-rw-r--r-- | dots/theme/.config/theme/alacritty.toml.j2 | 19 | ||||
-rw-r--r-- | dots/theme/.config/theme/emacs.el.j2 | 4 |
3 files changed, 23 insertions, 4 deletions
diff --git a/dots/theme/.config/theme/alacritty.toml b/dots/theme/.config/theme/alacritty.toml deleted file mode 100644 index d3c158b..0000000 --- a/dots/theme/.config/theme/alacritty.toml +++ /dev/null @@ -1,4 +0,0 @@ -[general] -import = [ - "~/.config/alacritty/alacritty-theme/themes/{{THEME}}.toml" -] diff --git a/dots/theme/.config/theme/alacritty.toml.j2 b/dots/theme/.config/theme/alacritty.toml.j2 new file mode 100644 index 0000000..682bf05 --- /dev/null +++ b/dots/theme/.config/theme/alacritty.toml.j2 @@ -0,0 +1,19 @@ +[font] +size = {{ theme.alacritty.font.size }}.0 + +[font.bold] +family = "{{ theme.alacritty.font.name }}" +style = "Bold" + +[font.italic] +family = "{{ theme.alacritty.font.name }}" +style = "Italic" + +[font.normal] +family = "{{ theme.alacritty.font.name }}" +style = "Regular" + +[general] +import = [ + "~/.config/alacritty/alacritty-theme/themes/{{ theme.alacritty.name }}.toml" +] diff --git a/dots/theme/.config/theme/emacs.el.j2 b/dots/theme/.config/theme/emacs.el.j2 new file mode 100644 index 0000000..bf24589 --- /dev/null +++ b/dots/theme/.config/theme/emacs.el.j2 @@ -0,0 +1,4 @@ +(load-theme {{ theme.emacs.symbol }} t) +(let ((font "{{ theme.emacs.font.name }}-{{ theme.emacs.font.size }}:style=Regular")) + (set-face-attribute 'default nil :font font) + (set-frame-font font nil t)) |