You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240203-110809-5046fc22
Ask your question!
In my Windows Terminal I have specified a different color scheme (theme) for each type of shell. I have not found out how I can do this in WezTerm.
My profile is now this:
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
config.color_scheme = 'Cobalt 2 (Gogh)'
config.font = wezterm.font 'CaskaydiaCove Nerd Font Mono'
config.font_size = 14.0
config.initial_rows = 35
config.initial_cols = 120
-- Spawn a fish shell in login mode
config.default_prog = { 'pwsh', '-NoLogo' }
-- and finally, return the configuration to wezterm
return config
What I want to achieve is to use different colour schemes depending on the launched program.
This may be documented somewhere but I have not understood/found the right place :-)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What Operating System(s) are you running on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240203-110809-5046fc22
Ask your question!
In my Windows Terminal I have specified a different color scheme (theme) for each type of shell. I have not found out how I can do this in WezTerm.
My profile is now this:
What I want to achieve is to use different colour schemes depending on the launched program.
This may be documented somewhere but I have not understood/found the right place :-)
Beta Was this translation helpful? Give feedback.
All reactions