From a11e0a39d94b2b8dd52abda906de7523ba49efa6 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 29 Jul 2025 16:42:18 +0700 Subject: [PATCH] ai: adjust chat input indicator spacing --- .config/quickshell/ii/modules/common/Config.qml | 6 +++--- .config/quickshell/ii/modules/sidebarLeft/AiChat.qml | 4 ++-- .../ii/modules/sidebarLeft/ApiInputBoxIndicator.qml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 780676622..f8e015cef 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -67,9 +67,9 @@ Singleton { "api_format": "openai", // Most of the time you want "openai". Use "gemini" for Google's models "description": "This is a custom model. Edit the config to add more! | Anyway, this is DeepSeek R1 Distill LLaMA 70B", "endpoint": "https://openrouter.ai/api/v1/chat/completions", - "homepage": "https://openrouter.ai/deepseek/deepseek-r1-distill-llama-70b:free", - "icon": "spark-symbolic", - "key_get_link": "https://openrouter.ai/settings/keys", + "homepage": "https://openrouter.ai/deepseek/deepseek-r1-distill-llama-70b:free", // Not mandatory + "icon": "spark-symbolic", // Not mandatory + "key_get_link": "https://openrouter.ai/settings/keys", // Not mandatory "key_id": "openrouter", "model": "deepseek/deepseek-r1-distill-llama-70b:free", "name": "Custom: DS R1 Dstl. LLaMA 70B", diff --git a/.config/quickshell/ii/modules/sidebarLeft/AiChat.qml b/.config/quickshell/ii/modules/sidebarLeft/AiChat.qml index 44f70633c..dcbff893e 100644 --- a/.config/quickshell/ii/modules/sidebarLeft/AiChat.qml +++ b/.config/quickshell/ii/modules/sidebarLeft/AiChat.qml @@ -635,9 +635,9 @@ Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\) anchors.right: parent.right anchors.bottom: parent.bottom anchors.bottomMargin: 5 - anchors.leftMargin: 5 + anchors.leftMargin: 10 anchors.rightMargin: 5 - spacing: 5 + spacing: 4 property var commandsShown: [ { diff --git a/.config/quickshell/ii/modules/sidebarLeft/ApiInputBoxIndicator.qml b/.config/quickshell/ii/modules/sidebarLeft/ApiInputBoxIndicator.qml index 46bd4c783..13fb81ca9 100644 --- a/.config/quickshell/ii/modules/sidebarLeft/ApiInputBoxIndicator.qml +++ b/.config/quickshell/ii/modules/sidebarLeft/ApiInputBoxIndicator.qml @@ -9,8 +9,8 @@ Item { // Model indicator property string icon: "api" property string text: "" property string tooltipText: "" - implicitHeight: rowLayout.implicitHeight + 5 * 2 - implicitWidth: rowLayout.implicitWidth + 10 * 2 + implicitHeight: rowLayout.implicitHeight + 4 * 2 + implicitWidth: rowLayout.implicitWidth + 4 * 2 RowLayout { id: rowLayout