Skip to content

Commit

Permalink
weztermのタブをテーマに合わせた
Browse files Browse the repository at this point in the history
  • Loading branch information
grtw2116 committed Mar 25, 2024
1 parent acd9ef3 commit 6817dd4
Show file tree
Hide file tree
Showing 2 changed files with 2,045 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,21 @@ end

function scheme_for_appearance(appearance)
if appearance:find("Dark") then
return "Tokyo Night"
return "Tokyo Night Storm"
else
return "Tokyo Night Day"
end
end

-- config.color_scheme = "tokyonight.toml"

-- local colors, metadata = wezterm.color.load_scheme("$HOME/.config/wezterm/colors/tokyonight.toml")
-- config.color_scheme = colors

config.color_scheme = scheme_for_appearance(get_appearance())

config.use_fancy_tab_bar = false

config.font = wezterm.font_with_fallback({
"Moralerspace Argon NF",
"PlemolJP Console NF",
Expand Down
Loading

0 comments on commit 6817dd4

Please sign in to comment.