chore: update waybar, nvim llm plugin, and sway config

- Replace sway window module with hyprland submap in waybar
- Move clock to right side and update display format
- Enable battery time display and update workspace button styling
- Update nvim llm plugin model ID, backend URL, and FIM tokens
- Uncomment default terminal and add GTK/Qt wayland env vars in sway
This commit is contained in:
2026-05-04 16:59:40 -07:00
parent 0784b17f26
commit 8630f6318e
4 changed files with 37 additions and 27 deletions
+6 -8
View File
@@ -4,13 +4,12 @@ return {
local llm = require('llm')
llm.setup({
api_token = nil, -- cf Install paragraph
model = "Qwen3.5-9B", -- the model ID, behavior depends on backend
model = "Qwen/Qwen3.5-9B", -- the model ID, behavior depends on backend
backend = "openai", -- backend ID, "huggingface" | "ollama" | "openai" | "tgi"
url = "http://localhost:8123", -- the http url of the backend
--tokens_to_clear = { "<|endoftext|>" }, -- tokens to remove from the model's output
url = "http://192.168.200.12:8123", -- the http url of the backend
tokens_to_clear = { "<|endoftext|>" }, -- tokens to remove from the model's output
-- parameters that are added to the request body, values are arbitrary, you can set any field:value pair here it will be passed as is to the backend
request_body = {
parameters = {
temperature=0.6,
top_p=0.95,
top_k=20,
@@ -19,14 +18,13 @@ return {
repetition_penalty=1.0,
max_new_tokens = 2000,
chat_template_kwargs='{"enable_thinking": False}',
},
},
-- set this if the model supports fill in the middle
fim = {
enabled = true,
prefix = "<fim_prefix>",
middle = "<fim_middle>",
suffix = "<fim_suffix>",
prefix = "<|fim_prefix|>",
middle = "<|fim_middle|>",
suffix = "<|fim_suffix|>",
},
debounce_ms = 100,
accept_keymap = "<Tab>",