mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 08:41:36 +00:00
update ubuntu dockerfile
update wezterm configuration
This commit is contained in:
@ -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"]
|
||||
|
22
wezterm/linux/wezterm.lua
Normal file
22
wezterm/linux/wezterm.lua
Normal file
@ -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
|
Reference in New Issue
Block a user