Guest User

Untitled

a guest
Oct 23rd, 2024
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. local wezterm = require 'wezterm'
  2.  
  3. local TITLEBAR_BG_COLOR <const> = "#f0f0f0"
  4.  
  5. return {
  6. -- text
  7. font = wezterm.font_with_fallback({
  8. "Cascadia Code",
  9. "Monaco",
  10. }),
  11. font_size = 18.0,
  12. line_height = 1.01,
  13.  
  14. -- window
  15. use_fancy_tab_bar = true,
  16. show_new_tab_button_in_tab_bar = false,
  17. window_decorations = "RESIZE",
  18. initial_cols = 187,
  19. initial_rows = 50,
  20. window_frame = {
  21. -- The font used in the tab bar
  22. font = wezterm.font({
  23. family = "Roboto",
  24. weight = "Bold",
  25. }),
  26. font_size = 11.0,
  27. active_titlebar_bg = TITLEBAR_BG_COLOR,
  28. inactive_titlebar_bg = TITLEBAR_BG_COLOR,
  29. },
  30. window_padding = {
  31. left = "0.5cell",
  32. right = "0.5cell",
  33. top = "0.1cell",
  34. bottom = "0.1cell",
  35. },
  36.  
  37. -- adjust_window_size_when_changing_font_size = false,
  38. colors = {
  39. foreground = "#000000",
  40. background = "#ffffff",
  41.  
  42. --ansi = {"black", "maroon", "green", "olive", "#4285f4", "purple", "teal", "silver"},
  43. ansi = {"black", "maroon", "green", "olive", "#4285f4", "purple", "teal", "silver"},
  44. brights = {"grey", "red", "lime", "yellow", "#4285f4", "fuchsia", "aqua", "white"},
  45.  
  46. cursor_fg = "#ffffff",
  47. cursor_bg = "#000000",
  48. cursor_border = "#000000",
  49.  
  50. selection_fg = "#ffffff",
  51. selection_bg = "#555555",
  52.  
  53. tab_bar = {
  54. background = "#dcdcdc",
  55. background = "#ffffff",
  56. background = "#e0e0e0",
  57. background = TITLEBAR_BG_COLOR,
  58.  
  59. active_tab = {
  60. bg_color = "#ede8ed",
  61. bg_color = "#ffffff",
  62. fg_color = "#000000",
  63.  
  64. -- Specify whether you want "Half", "Normal" or "Bold" intensity for the
  65. -- label shown for this tab.
  66. -- The default is "Normal"
  67. intensity = "Normal",
  68.  
  69. -- Specify whether you want "None", "Single" or "Double" underline for
  70. -- label shown for this tab.
  71. -- The default is "None"
  72. underline = "None",
  73.  
  74. -- Specify whether you want the text to be italic (true) or not (false)
  75. -- for this tab. The default is false.
  76. italic = false,
  77.  
  78. -- Specify whether you want the text to be rendered with strikethrough (true)
  79. -- or not for this tab. The default is false.
  80. strikethrough = false,
  81. },
  82.  
  83. inactive_tab = {
  84. bg_color = "#cccccc",
  85. fg_color = "#999999",
  86. intensity = "Half",
  87. },
  88. inactive_tab_hover = {
  89. bg_color = "#cccccc",
  90. fg_color = "#999999",
  91. },
  92.  
  93. -- The new tab button that let you create new tabs
  94. new_tab = {
  95. bg_color = TITLEBAR_BG_COLOR,
  96. fg_color = "#999999",
  97. },
  98. new_tab_hover = {
  99. bg_color = TITLEBAR_BG_COLOR,
  100. fg_color = "#000000",
  101. },
  102. },
  103. },
  104.  
  105. scrollback_lines = 50000,
  106. }
Advertisement
Add Comment
Please, Sign In to add comment