diff --git a/dockerfiles/ubuntu/Dockerfile b/dockerfiles/ubuntu/Dockerfile index e55655c..6ab3529 100644 --- a/dockerfiles/ubuntu/Dockerfile +++ b/dockerfiles/ubuntu/Dockerfile @@ -4,6 +4,7 @@ RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/ && sed -i 's@//.*security.ubuntu.com@//mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/ubuntu.sources \ && apt-get update -y \ && apt-get install -y git ninja-build gettext cmake unzip curl build-essential sudo zsh htop vim \ + python3 python3-pip \ # install neovim && cd /opt && git clone --depth 1 https://gitee.com/mirrors/neovim && cd neovim \ && make CMAKE_BUILD_TYPE=Release \ @@ -50,5 +51,8 @@ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygi && sudo install lazygit /usr/local/bin \ && rm -rf lazygit \ && rm -rf lazygit.tar.gz +# pypi tsinghua +RUN pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple +# python3 -m pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade pip \ ENTRYPOINT ["/bin/zsh"] diff --git a/wezterm/linux/wezterm.lua b/wezterm/linux/wezterm.lua new file mode 100644 index 0000000..58a8455 --- /dev/null +++ b/wezterm/linux/wezterm.lua @@ -0,0 +1,22 @@ +local wezterm = require 'wezterm' + +local config = wezterm.config_builder() + +config.font = wezterm.font 'JetBrainsMono Nerd Font' +--[[ config.default_prog = { "C:\\Users\\xfy\\AppData\\Local\\Microsoft\\WindowsApps\\pwsh.exe" } ]] + +-- ui +--[[ config.initial_rows = 50 ]] +--[[ config.initial_cols = 198 ]] +config.window_padding = { + left = 0, + right = 0, + top = 0, + bottom = 0, +} +config.window_decorations = "NONE" +config.window_background_opacity = 0.93 +config.hide_tab_bar_if_only_one_tab = true +config.color_scheme = "Catppuccin Mocha" + +return config diff --git a/wezterm/wezterm.lua b/wezterm/windows/wezterm.lua similarity index 100% rename from wezterm/wezterm.lua rename to wezterm/windows/wezterm.lua