| 
									
										
										
										
											2025-09-22 21:36:45 +02:00
										 |  |  | -- Pull in the wezterm API | 
					
						
							|  |  |  | local wezterm = require 'wezterm' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | -- This will hold the configuration. | 
					
						
							|  |  |  | local config = wezterm.config_builder() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | config.enable_tab_bar= false | 
					
						
							|  |  |  | config.scrollback_lines = 3500 | 
					
						
							|  |  |  | config.default_cursor_style = 'BlinkingUnderline' | 
					
						
							|  |  |  | config.window_background_opacity = 0.8 | 
					
						
							|  |  |  | config.window_padding = { | 
					
						
							|  |  |  |   left = 2, | 
					
						
							|  |  |  |   right = 2, | 
					
						
							|  |  |  |   top = 0, | 
					
						
							|  |  |  |   bottom = 0, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | -- For example, changing the initial geometry for new windows: | 
					
						
							| 
									
										
										
										
											2025-09-23 09:58:03 +02:00
										 |  |  | config.initial_cols = 120 | 
					
						
							| 
									
										
										
										
											2025-09-24 08:56:44 +02:00
										 |  |  | config.initial_rows = 30 | 
					
						
							| 
									
										
										
										
											2025-09-22 21:36:45 +02:00
										 |  |  | config.enable_scroll_bar = true | 
					
						
							|  |  |  | config.color_scheme_dirs = { '~/.config/iTerm2-Color-Schemes' } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | -- or, changing the font size and color scheme. | 
					
						
							|  |  |  | config.font_size = 10 | 
					
						
							|  |  |  | config.color_scheme = 'Ollie' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | -- Finally, return the configuration to wezterm: | 
					
						
							|  |  |  | return config |