This commit is contained in:
andrzej 2024-05-23 13:21:31 +02:00
parent f22d2d849d
commit 8134cf81d5
2 changed files with 13 additions and 15 deletions

View File

@ -1,20 +1,7 @@
local wezterm = require("wezterm")
local bg_color = wezterm.get_builtin_color_schemes()["rose-pine"].background
return {
{
source = {
File = require("selected_bg"),
},
hsb = {
hue = 1.0,
saturation = 1,
brightness = 0.7,
},
},
{
source = {
Color = bg_color,
Color = Selected_color_scheme.background,
},
width = "100%",
height = "100%",

View File

@ -6,11 +6,22 @@ local config = wezterm.config_builder()
-- This is where you actually apply your config choices
config.font = wezterm.font("GoMono Nerd Font Mono")
config.color_scheme = "rose-pine"
--This is the value you edit ↓
local color_scheme = "rose-pine"
config.color_scheme = color_scheme
Selected_color_scheme = wezterm.get_builtin_color_schemes()[color_scheme]
print(Selected_color_scheme)
config.hide_tab_bar_if_only_one_tab = true
--background
config.background = require("background")
config.window_padding = {
left = 2,
right = 2,
top = 0,
bottom = 0,
}
config.use_dead_keys = false
config.keys = require("keymaps")
-- and finally, return the configuration to wezterm