diff options
author | Hunt <lizhunt@amazon.com> | 2025-06-07 17:23:25 -0700 |
---|---|---|
committer | Hunt <lizhunt@amazon.com> | 2025-06-07 17:23:25 -0700 |
commit | fe6a59ea558971a2c3e532e922b4fc4232bc1719 (patch) | |
tree | 0372373802692c54da133fb6448b7abb6dc522ce /dots/theme | |
parent | da1dbddd46cac345116488cd38d42d7502522465 (diff) | |
download | dotfiles-fe6a59ea558971a2c3e532e922b4fc4232bc1719.tar.gz dotfiles-fe6a59ea558971a2c3e532e922b4fc4232bc1719.zip |
Add emacs config
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)) |