From a11e1e4f6ab42f10b54b2dc2acb99361b2751e71 Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Thu, 16 Apr 2026 01:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E5=9D=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新装了 bun(换部落格主题了) 给 chrome 撑宽一点(终于支持垂直标签页了,但记不住宽度) 对调了两块屏幕(可以`niri msg outputs`直接看逻辑坐标) --- .config/niri/config-window.kdl | 5 +++++ .config/niri/config.kdl | 3 ++- .zshrc | 9 ++++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.config/niri/config-window.kdl b/.config/niri/config-window.kdl index 9b9269d..0fb3031 100644 --- a/.config/niri/config-window.kdl +++ b/.config/niri/config-window.kdl @@ -21,6 +21,11 @@ window-rule { open-on-output "eDP-1" } +window-rule { + match app-id="google-chrome" + default-column-width { proportion 0.6; } +} + window-rule { match app-id="Electron" title="Test" // frg2089.BiliLive.Observer match app-id="Electron" title="Blivechat-Openlive" // blivechat diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index e2cac46..9dbf7ef 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -48,11 +48,12 @@ input { output "eDP-1" { scale 1.25 + position x=1920 y=0 } output "HDMI-A-1" { mode "1920x1080@180.000" - //position x=1920 y=0 + position x=0 y=0 focus-at-startup } diff --git a/.zshrc b/.zshrc index 8187cd5..c84f25c 100644 --- a/.zshrc +++ b/.zshrc @@ -149,8 +149,15 @@ export GPG_TTY=$TTY alias uvenv='source .venv/bin/activate' alias noproxy='env -u http_proxy -u https_proxy' -alias savebg='cp ~/.local/share/.wallpaper ~/Pictures/img.webp' +alias savebg='cp -v ~/.cache/wallpaper ~/Pictures/img.webp' export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +# bun completions +[ -s "/home/agxcoy/.bun/_bun" ] && source "/home/agxcoy/.bun/_bun" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH"