hm: move wezterm lua config to the nix file

This commit is contained in:
Alexandre Cavalheiro 2024-06-26 02:11:25 -03:00
parent 13b9de2b12
commit c9d8d353ba
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 20 additions and 18 deletions

View file

@ -3,6 +3,25 @@
{ {
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
extraConfig = builtins.readFile ./wezterm.lua; extraConfig = # lua
''
local wezterm = require("wezterm")
return {
color_scheme = "Catppuccin Frappe",
enable_wayland = false, -- Unfortunately broken on Hyprland, AGAIN
font = wezterm.font("FantasqueSansM Nerd Font"),
font_size = 13,
hide_tab_bar_if_only_one_tab = true,
hide_mouse_cursor_when_typing = false,
window_background_opacity = 0.88,
window_padding = {
left = 18,
right = 18,
top = 18,
bottom = 18,
},
}
'';
}; };
} }

View file

@ -1,17 +0,0 @@
local wezterm = require("wezterm")
return {
color_scheme = "Catppuccin Frappe",
enable_wayland = false, -- Unfortunately broken on Hyprland, AGAIN
font = wezterm.font("FantasqueSansM Nerd Font"),
font_size = 13,
hide_tab_bar_if_only_one_tab = true,
hide_mouse_cursor_when_typing = false,
window_background_opacity = 0.88,
window_padding = {
left = 18,
right = 18,
top = 18,
bottom = 18,
},
}