aboutsummaryrefslogtreecommitdiffstats
path: root/rofi/udt/confirm.rasi
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 11:14:08 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 11:14:08 +0200
commit02c3277356271bc9f2969cd56ee654e95ef9ce9e (patch)
tree1ee3987fceae93e542d970f0e7e041f5dbdc9cca /rofi/udt/confirm.rasi
parent284709aefaed47b8d519ecf6c3dc79d1cd5cbbdf (diff)
downloadunified-desktop-theme-02c3277356271bc9f2969cd56ee654e95ef9ce9e.tar.gz
unified-desktop-theme-02c3277356271bc9f2969cd56ee654e95ef9ce9e.zip
fix(rofi): compact confirm and screenshot cards, centre glyphs
The confirm and screenshot menus split the monitor into two half-screen buttons with a glyph sized from the monitor height. They are now a fixed 368px card centred on the scrim, two 150px buttons at 72pt, so the scripts no longer compute a glyph size. Glyphs in all three menus sat right of centre: common.rasi's element spacing still reserved a gap for the hidden icon. Elements now hold element-text only. The power menu's greeting ignored horizontal-align, so spacers either side centre it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'rofi/udt/confirm.rasi')
-rw-r--r--rofi/udt/confirm.rasi12
1 files changed, 5 insertions, 7 deletions
diff --git a/rofi/udt/confirm.rasi b/rofi/udt/confirm.rasi
index 1b288ee..242c86a 100644
--- a/rofi/udt/confirm.rasi
+++ b/rofi/udt/confirm.rasi
@@ -3,16 +3,14 @@
* Copyright (C) 2026 Danilo M. <danix@danix.xyz>
* Licensed under the GNU General Public License v2 only.
*
- * Used by the power menu's confirmation step. The screenshot menu's layout,
- * two half-monitor buttons on the scrim, with the question above them. The
- * glyph size comes from the script with -theme-str, as it does there.
+ * Used by the power menu's confirmation step. The screenshot menu's card,
+ * with the question above the two buttons.
*/
@import "screenshot.rasi"
-mainbox {
- children: [ dummy, message, listview, dummy ];
- spacing: 48px;
+card {
+ children: [ message, listview ];
}
/* The question, "Simu Sicuri?", passed by the script with -mesg. */
@@ -23,7 +21,7 @@ message {
}
textbox {
- font: "Noto Sans Bold 28";
+ font: "Noto Sans Bold 18";
text-color: @text;
horizontal-align: 0.5;
}