惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

Steve Sun

【译文】我们现在是工厂工程师,不是产品工程师 【译文】循环工程的艺术 【译文】请不要搞个 【译文】自主长时运行编程 Agent 【译文】/goal + 损失函数:如何用一条指令在 30 小时内蒸馏一个产品 我怎么用 Hermes Agent 写代码 【译文】运行一个 AI-native 的工程团队 【译文】运行一个 AI-native 的工程团队 【译文】你可以直接这么说 【译文】你可以直接这么说 如何设计一个智能体(AI Agent) 如何设计一个智能体(AI Agent) 【译文】为什么你的"AI-First"策略很可能是错的 【译文】为什么你的"AI-First"策略很可能是错的 记忆的层级,和 AI 智能体的记忆管理 AI Agent 工具对比:MCP 为什么只是个过渡产物 AI Agent 工具对比:MCP 为什么只是个过渡产物 外部化的J人 外部化的J人 Omarchy 一些中文环境下的设置 AI Agent + 产品经理 = 产品测试工程师 AI Agent + 产品经理 = 产品测试工程师 遇到 Linux 系统 Kernel Panic 了该如何应对 遇到 Linux 系统 Kernel Panic 了该如何应对 如何与「老登」相处 Cursor等AI编程工具的背后原理 为什么不应该让AI生成单元测试
Omarchy 一些中文环境下的设置
Steve Sun · 2025-10-22 · via Steve Sun

最近把家里电脑装上了 DHH 的 Omarchy(一个基于 Hyprland 桌面环境的 Arch Linux 发行版)。

装完后有一些需要改造的配置记录在这篇文章中,供大家参考。

4K 显示器设置

修改系统菜单 Setup - Monitor,按照你自己显示器的分辨率,根据配置文件中的注释设置参数,比如我的显示器 27 寸 4k:

env = GDK_SCALE,1.75
monitor=,preferred,auto,1.875

额外为 QT 软件添加缩放设置

env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_SCALE_FACTOR,1.75

中文输入法

参考 Fcitx 最佳配置实践。文章中“安装 emacs-rime”这一章节如果不使用 emacs 可以忽略。

终端字体修改设置

系统自带字体在终端环境下对中文都不太友好。我喜欢用Maple Mono这个字体,可以安装 AUR 包maple-mono-nf-cn这个库。然后在~/.config/alacritty/alacritty.toml中修改字体设置:

[font]
normal = { family = "Maple Mono NF CN" }
bold = { family = "Maple Mono NF CN" }
italic = { family = "Maple Mono NF CN" }
size = 12

键盘默认的 numlock 关闭

Omarchy 安装后会默认开启小键盘的 numlock,可以在系统菜单 Setup - Input 中设置:

numlock_by_default = false

Neovim 的一些设置

Neovim 默认使用了 Lazyvim,我在~/.config/nvim/lua/config/options.lua里添加了一些配置,可以参考注释选择性添加:

-- 修复中文字体在终端里有下划线的问题
vim.opt.spelllang = { "en", "cjk" }

-- 在 markdown 文件中关闭语法检查
vim.api.nvim_create_autocmd("FileType", {
 pattern = "markdown",
 callback = function()
  vim.diagnostic.enable(false)
 end,
})

然后创建~/.config/nvim/lua/plugins/flush.lua并添加内容,恢复 Vim 默认的 normal 模式下 s 键的功能:

return {
  {
    "folke/flash.nvim",
    keys = {
      { "s", mode = { "n", "x", "o" }, false },
    },
  },
}