From 75772bed729c7bfe48a309cc39a8a52ec3ac251b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 11:25:26 +0200 Subject: 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 --- rofi/udt/screenshot.rasi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'rofi/udt') 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; } -- cgit v1.2.3