From 44d59942483605ba01ac372ae0d43405226ad35b Mon Sep 17 00:00:00 2001
From: end-4 <97237370+end-4@users.noreply.github.com>
Date: Wed, 15 Oct 2025 10:11:24 +0200
Subject: [PATCH] screenshot: dont put region size in the region
---
.config/quickshell/ii/screenshot.qml | 4 +++-
.config/quickshell/ii/translations/en_US.json | 8 +++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.config/quickshell/ii/screenshot.qml b/.config/quickshell/ii/screenshot.qml
index 378470e64..499409daf 100644
--- a/.config/quickshell/ii/screenshot.qml
+++ b/.config/quickshell/ii/screenshot.qml
@@ -425,11 +425,13 @@ ShellRoot {
radius: 0 // TODO: figure out how to make the overlay thing work with rounding
}
StyledText {
+ z: 2
anchors {
- bottom: selectionBorder.bottom
+ top: selectionBorder.bottom
right: selectionBorder.right
margins: 8
}
+ color: root.selectionBorderColor
text: `${Math.round(panelWindow.regionWidth)} x ${Math.round(panelWindow.regionHeight)}`
}
diff --git a/.config/quickshell/ii/translations/en_US.json b/.config/quickshell/ii/translations/en_US.json
index 9883387ee..9e042fbe6 100644
--- a/.config/quickshell/ii/translations/en_US.json
+++ b/.config/quickshell/ii/translations/en_US.json
@@ -501,5 +501,11 @@
"Numbers": "Numbers",
"Intelligence": "Intelligence",
"Open network portal": "Open network portal",
- "No further instruction provided": "No further instruction provided"
+ "No further instruction provided": "No further instruction provided",
+ "Language not listed or incomplete translations?\nYou can choose to generate translations for it with Gemini.\n1. Open the left sidebar with Super+A, set model to Gemini (if it isn't already)\n2. Type /key, hit Enter and follow the instructions\n3. Type /key YOUR_API_KEY\n4. Type the locale of your language below and press Generate": "Language not listed or incomplete translations?\nYou can choose to generate translations for it with Gemini.\n1. Open the left sidebar with Super+A, set model to Gemini (if it isn't already)\n2. Type /key, hit Enter and follow the instructions\n3. Type /key YOUR_API_KEY\n4. Type the locale of your language below and press Generate",
+ "Locale code, e.g. fr_FR, de_DE, zh_CN...": "Locale code, e.g. fr_FR, de_DE, zh_CN...",
+ "Select language": "Select language",
+ "Generate translation with Gemini": "Generate translation with Gemini",
+ "Generating...\nDon't close this window!": "Generating...\nDon't close this window!",
+ "Generate\nTypically takes 2 minutes": "Generate\nTypically takes 2 minutes"
}
\ No newline at end of file