aboutsummaryrefslogtreecommitdiffstats
path: root/rofi
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 11:25:26 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 11:25:26 +0200
commit75772bed729c7bfe48a309cc39a8a52ec3ac251b (patch)
tree454994c94ea966b31a79d68588bd1021d779660b /rofi
parentc29767aeccc1e6d9b36a9340142bae999f0d1c00 (diff)
downloadunified-desktop-theme-75772bed729c7bfe48a309cc39a8a52ec3ac251b.tar.gz
unified-desktop-theme-75772bed729c7bfe48a309cc39a8a52ec3ac251b.zip
feat(rofi): screenshot menu header, as in the ssh menu
The prompt is lifted onto the card as a left-aligned "Screenshot:" header with a camera glyph. confirm.rasi sets its own card children, so the power menu's confirm step keeps its centred question and no header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'rofi')
-rw-r--r--rofi/udt/screenshot.rasi9
1 files changed, 8 insertions, 1 deletions
diff --git a/rofi/udt/screenshot.rasi b/rofi/udt/screenshot.rasi
index 8748628..f3f8c4f 100644
--- a/rofi/udt/screenshot.rasi
+++ b/rofi/udt/screenshot.rasi
@@ -39,7 +39,7 @@ column {
card {
expand: false;
orientation: vertical;
- children: [ listview ];
+ children: [ prompt, listview ];
spacing: 20px;
padding: 24px;
background-color: @base;
@@ -48,6 +48,13 @@ card {
border-radius: 18px;
}
+/* The header, as in ssh.rasi: the prompt lifted out of the inputbar. */
+prompt {
+ font: "Noto Sans Bold 15";
+ text-color: @text;
+ padding: 0 4px;
+}
+
dummy {
expand: true;
}