ark/users/patriot/config/wezterm/cfg.nix

25 lines
679 B
Nix
Raw Normal View History

2022-04-22 07:40:28 +03:00
{font, ...}: ''
local wezterm = require 'wezterm';
2022-06-29 03:31:55 +03:00
local catppuccin = require("colors/catppuccin").setup {
-- whether or not to sync with the system's theme
sync = true,
-- the flavours to switch between when syncing
-- available flavours: "latte" | "frappe" | "macchiato" | "mocha"
sync_flavours = {
light = "latte",
dark = "mocha"
},
-- the default/fallback flavour, when syncing is disabled
flavour = "mocha"
}
2022-04-22 07:40:28 +03:00
return {
font = wezterm.font("${font.name}"),
font_size = ${builtins.toJSON font.size},
2022-04-24 03:44:42 +03:00
default_cursor_style = "BlinkingBar",
enable_wayland = true,
2022-06-29 03:31:55 +03:00
enable_tab_bar = false,
colors = catppuccin
2022-04-22 07:40:28 +03:00
}
''