### Manual WezTerm Theme Installation (Lua) Source: https://context7.com/neapsix/wezterm/llms.txt Instructions for manually installing the Rosé Pine theme by copying the plugin file to the WezTerm configuration directory and loading it as a local module in `wezterm.lua`. This method is suitable for users who prefer manual setup or need to customize the theme. ```lua -- Manual installation steps: -- 1. Copy plugin/init.lua to ~/.config/wezterm/lua/rose-pine.lua (Linux/macOS/FreeBSD) -- Or to the directory containing wezterm.exe (Windows) -- 2. Load the theme in your wezterm.lua: local theme = require('lua/rose-pine').main -- or .moon or .dawn return { colors = theme.colors(), window_frame = theme.window_frame(), } ``` -------------------------------- ### Complete WezTerm Configuration with Rosé Pine Theme (Lua) Source: https://context7.com/neapsix/wezterm/llms.txt A comprehensive example of a WezTerm configuration file (`wezterm.lua`) that integrates the Rosé Pine theme. It demonstrates how to load the theme, apply its colors and window frame styles, and includes additional WezTerm settings like font, padding, and tab bar configuration. It also emphasizes the importance of not setting the `color_scheme` option. ```lua local wezterm = require('wezterm') -- Load the Rosé Pine theme (choose your variant: main, moon, or dawn) local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').main return { -- Apply Rosé Pine colors colors = theme.colors(), window_frame = theme.window_frame(), -- IMPORTANT: Do NOT set color_scheme as it overrides custom colors -- color_scheme = "...", -- Leave this unset! -- Optional: Enable fancy tab bar to use window_frame styling use_fancy_tab_bar = true, -- Additional WezTerm settings font = wezterm.font('JetBrains Mono'), font_size = 12.0, -- Window configuration window_padding = { left = 10, right = 10, top = 10, bottom = 10, }, -- Tab bar position tab_bar_at_bottom = false, hide_tab_bar_if_only_one_tab = true, } ``` -------------------------------- ### Load WezTerm Theme Manually Source: https://github.com/neapsix/wezterm/blob/main/readme.md Loads the Rosé Pine theme for WezTerm after manual installation. This involves copying the theme file to the WezTerm configuration directory and then requiring it in your `wezterm.lua` file. This method is useful if plugin installation is not preferred or possible. ```lua local theme = require('lua/rose-pine').main ``` -------------------------------- ### Retrieve Theme Color Configuration Source: https://context7.com/neapsix/wezterm/llms.txt Uses the colors() method to fetch the complete color palette, including ANSI, brights, and tab bar colors. This is the primary method for applying the theme's aesthetic to the terminal. ```lua local wezterm = require('wezterm') local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').main local color_config = theme.colors() return { colors = color_config, } ``` -------------------------------- ### Apply Rosé Pine Theme Variants in WezTerm Source: https://context7.com/neapsix/wezterm/llms.txt Demonstrates how to load and apply the 'main', 'moon', or 'dawn' color variants to the WezTerm configuration. Each variant returns a table containing color definitions and optional window frame settings. ```lua local wezterm = require('wezterm') local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').main return { colors = theme.colors(), window_frame = theme.window_frame(), } ``` ```lua local wezterm = require('wezterm') local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').moon return { colors = theme.colors(), window_frame = theme.window_frame(), } ``` ```lua local wezterm = require('wezterm') local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').dawn return { colors = theme.colors(), window_frame = theme.window_frame(), } ``` -------------------------------- ### Load WezTerm Theme via Plugin Source: https://github.com/neapsix/wezterm/blob/main/readme.md Loads the Rosé Pine theme for WezTerm using its built-in plugin support. This method requires adding a specific line to your `wezterm.lua` configuration file. It fetches the theme from a GitHub repository. ```lua local wezterm = require('wezterm') local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').main ``` -------------------------------- ### Configure Window Frame for Fancy Tab Bar Source: https://context7.com/neapsix/wezterm/llms.txt Uses the window_frame() method to retrieve titlebar background colors specifically for the fancy tab bar mode. Requires setting use_fancy_tab_bar to true in the WezTerm configuration. ```lua local wezterm = require('wezterm') local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').main local frame_config = theme.window_frame() return { colors = theme.colors(), window_frame = frame_config, use_fancy_tab_bar = true, } ``` -------------------------------- ### Apply Rosé Pine Theme Colors in WezTerm Source: https://github.com/neapsix/wezterm/blob/main/readme.md Applies the Rosé Pine theme's color definitions to the WezTerm terminal and tab bar. This configuration snippet should be placed within the `return` block of your `wezterm.lua` file. It ensures the terminal and window frame adopt the theme's styling. ```lua return { colors = theme.colors(), window_frame = theme.window_frame(), -- needed only if using fancy tab bar } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.