跳转到内容

模块参考

[modules.bar]
layer = "top"
auto_hide = false
location = "top"
[modules.notification]
enabled = true
anchor = "top-right"
auto_dismiss = true
[modules.dock]
enabled = false
icon_size = 40
behavior = "intellihide"
group_apps = true
orientation = "horizontal"
[modules.overview]
enabled = false
layer = "top"
anchor = "center"
[modules.launcher]
enabled = false
tooltip = true
icon_size = 35
ignored = []
anchor = "center"
width = 280
height = 320
layout = "grid"
grid_columns = 3
grid_spacing = 12
plugins_enabled = true
plugins_dir = ""

输入 / 可使用 /calc、/translate 等斜杠命令。插件是放在 plugins/ 目录中的 Python 文件。

内置插件:

  • /calc — 通过 libqalculate(qalc)计算数学、单位和货币,例如 /calc 100 cm to inches。
  • /translate — 翻译,自动检测源语言,例如 /translate bonjour。
  • /emoji — 离线表情搜索,例如 /emoji rocket。
  • /clipboard-history — 搜索 cliphist 历史记录并重新复制条目,例如 /clipboard-history https://。
  • /currency — 使用实时汇率(Frankfurter,无需 API 密钥)进行货币换算,例如 /currency 100 usd to eur。
  • /kill — 搜索运行中的进程并终止选中的进程(SIGTERM,或使用 -9 强制 SIGKILL),例如 /kill firefox。纯数字参数视为端口——/kill 3000 会终止监听 3000 端口的进程。
  • /search — 网页搜索(DuckDuckGo,无需 API 密钥),在浏览器中打开结果并将 URL 复制到剪贴板,例如 /search fabric hyprland。

键盘:上/下 移动选择,Enter 激活高亮行,Escape 关闭。

[modules.osd]
enabled = false
timeout = 3000
style = "default"
osds = ["brightness", "volume"]
[modules.desktop_clock]
enabled = false
type = "cookie"
layer = "bottom"
[modules.desktop_quotes]
enabled = false
interval = 600

桌面上的便签。右键点击桌面并选择 新建便签 即可添加,拖动顶部条移动,直接在便签中输入,点击圆点可切换颜色。便签按显示器保存在 Tsumiki 数据目录下的 desktop_notes.json 中,并在重启后恢复。

[modules.desktop_notes]
enabled = false
layer = "bottom"
note_width = 240 # 每个便签的宽度(像素)
save_delay = 800 # 编辑后写入磁盘前等待的毫秒数
tooltip = true # 在便签按钮上显示提示

全屏窗口会接收桌面上的鼠标点击,因此应保持在 bottom 层;使用便签上的 (×) 按钮删除便签。