Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #7

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .config/wezterm/config/color.lua
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
local wezterm = require 'wezterm';

local color_default_fg_light = wezterm.color.parse("#cacaca")
-- local color_default_fg_light = wezterm.color.parse("#cacaca")
local color_default_fg_dark = wezterm.color.parse("#303030")


return {
VERIDIAN = {
--[[ VERIDIAN = {
bg = wezterm.color.parse("#4D8060"),
fg = color_default_fg_light
},
PAYNE = {
}, ]]
--[[ PAYNE = {
bg = wezterm.color.parse("#385F71"),
fg = color_default_fg_light
},
INDIGO = {
}, ]]
--[[ INDIGO = {
bg = wezterm.color.parse("#7C77B9"),
fg = color_default_fg_light
},
}, ]]
CAROLINA = {
bg = wezterm.color.parse("#8FBFE0"),
fg = color_default_fg_dark
},
FLAME = {
--[[ FLAME = {
bg = wezterm.color.parse("#D36135"),
fg = color_default_fg_dark
},
JET = {
}, ]]
--[[ JET = {
bg = wezterm.color.parse("#282B28"),
fg = color_default_fg_light
},
TAUPE = {
}, ]]
--[[ TAUPE = {
bg = wezterm.color.parse("#785964"),
fg = color_default_fg_light
},
ECRU = {
}, ]]
--[[ ECRU = {
bg = wezterm.color.parse("#C6AE82"),
fg = color_default_fg_dark
},
VIOLET = {
}, ]]
--[[ VIOLET = {
bg = wezterm.color.parse("#685F74"),
fg = color_default_fg_light
},
VERDIGRIS = {
}, ]]
--[[ VERDIGRIS = {
bg = wezterm.color.parse("#28AFB0"),
fg = color_default_fg_light
}
} ]]
}
9 changes: 4 additions & 5 deletions .config/wezterm/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ wezterm.font {
family = 'font-Hack-nerd-font'
}

local home = os.getenv( "HOME" )
-- local home = os.getenv( "HOME" )
-- local background_path = home .. '/.config/wezterm/config/background.jpg'

---@class Config
Expand All @@ -61,7 +61,7 @@ local Config = {
color_scheme = 'Molokai',
-- color_scheme = 'tokyonight_storm',
window_background_opacity = 0.85,
macos_window_background_blur = 20,
macos_window_background_blur = 15,
hide_tab_bar_if_only_one_tab = true,

-- cursor
Expand All @@ -75,14 +75,13 @@ local Config = {
-- hide_tab_bar_if_only_one_tab = true,

-- window
window_background_image = background_path,
inactive_pane_hsb = { saturation = 1.0, brightness = 1.0 },
-- window_background_image = background_path,
-- inactive_pane_hsb = { saturation = 1.0, brightness = 1.0 },
leader = { key = 'Space', mods = 'CTRL|SHIFT' },
keys = keys,

macos_forward_to_ime_modifier_mask = "SHIFT|CTRL",

-- use_ime = true
use_ime = true
}

Expand Down
8 changes: 4 additions & 4 deletions .config/wezterm/config/tabline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ local color = (function()
local COLOR = require "config.color"

local coolors = {
COLOR.VERIDIAN,
--[[ COLOR.VERIDIAN,
COLOR.PAYNE,
COLOR.INDIGO,
COLOR.INDIGO, ]]
COLOR.CAROLINA,
COLOR.FLAME,
--[[ COLOR.FLAME,
COLOR.JET,
COLOR.TAUPE,
COLOR.ECRU,
COLOR.VIOLET,
COLOR.VERDIGRIS
COLOR.VERDIGRIS ]]
}

return coolors[math.random(#coolors)]
Expand Down
Loading