From 8134cf81d530aed55ad65ce1e156f8d59cbbc62f Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 23 May 2024 13:21:31 +0200 Subject: [PATCH] bg fixes --- wezterm/.config/wezterm/background.lua | 15 +-------------- wezterm/.config/wezterm/wezterm.lua | 13 ++++++++++++- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/wezterm/.config/wezterm/background.lua b/wezterm/.config/wezterm/background.lua index 9c1c9f4..ba398cd 100644 --- a/wezterm/.config/wezterm/background.lua +++ b/wezterm/.config/wezterm/background.lua @@ -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%", diff --git a/wezterm/.config/wezterm/wezterm.lua b/wezterm/.config/wezterm/wezterm.lua index 5618c73..6aab5ee 100644 --- a/wezterm/.config/wezterm/wezterm.lua +++ b/wezterm/.config/wezterm/wezterm.lua @@ -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