1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

added wezterm config

This commit is contained in:
eoli3n 2023-11-06 21:26:43 +01:00
parent afcd2dc761
commit 8bc2d5b4f6
3 changed files with 55 additions and 0 deletions

@ -74,3 +74,6 @@
- role: eww - role: eww
tags: eww tags: eww
when: ansible_user_id != 'root' when: ansible_user_id != 'root'
- role: wezterm
tags: wezterm
when: ansible_user_id != 'root'

@ -0,0 +1,5 @@
---
- name: configure wezterm
template:
src: wezterm.lua.j2
dest: "$HOME/.wezterm.lua"

@ -0,0 +1,47 @@
local wezterm = require 'wezterm'
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
config.font =
wezterm.font('JetBrains Mono', { weight = 'Light'})
config.font_size = 10.0
config.hide_tab_bar_if_only_one_tab = true
config.default_cursor_style = 'BlinkingBar'
config.colors = {
foreground = '{{ color7 }}',
background = '#202020',
cursor_bg = '{{ color7 }}',
selection_fg = 'black',
selection_bg = '{{ color3 }}',
ansi = {
'{{ color0 }}',
'{{ color1 }}',
'{{ color2 }}',
'{{ color3 }}',
'{{ color4 }}',
'{{ color5 }}',
'{{ color6 }}',
'{{ color7 }}',
},
brights = {
'{{ color8}}',
'{{ color9 }}',
'{{ color10 }}',
'{{ color11 }}',
'{{ color12 }}',
'{{ color13 }}',
'{{ color14 }}',
'{{ color15 }}',
},
}
config.window_background_opacity = 0.9
config.text_background_opacity = 1
config.window_decorations = "NONE"
config.hyperlink_rules = wezterm.default_hyperlink_rules()
return config