From 67fe682635eccd9c7da108cf5f85227b3f8dae49 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 11 Sep 2026 10:26:17 +0200 Subject: feat: make the power menu overlay slightly translucent The fullscreen ground drops to 88% opacity so the desktop stays faintly visible behind it, which keeps the menu reading as a layer over the session rather than a screen that replaced it. Written as an explicit rgba of the same colour rather than @base, since the palette entries carry a hard ff alpha. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq --- rofi/udt/powermenu.rasi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rofi/udt/powermenu.rasi b/rofi/udt/powermenu.rasi index a178865..d2c885a 100644 --- a/rofi/udt/powermenu.rasi +++ b/rofi/udt/powermenu.rasi @@ -10,9 +10,13 @@ @import "common.rasi" +/* The fullscreen ground is translucent so the desktop stays faintly visible + * behind it, which keeps the overlay reading as a layer over the session + * rather than a screen the session was replaced by. Written as an explicit + * rgba rather than @base, since the palette entries are fully opaque. */ window { fullscreen: true; - background-color: @base; + background-color: rgba(36, 39, 58, 0.88); border: 0; border-radius: 0; padding: 0; @@ -90,6 +94,11 @@ element { /* The entries are single glyphs from a Nerd Font, so they are sized large and * centered rather than laid out as text. */ +/* Left as the plain Nerd Font, which renders all four glyphs correctly here. + * Naming `feather` first, as confirm.rasi has to, blanks the selected cell: + * feather covers three of the four codepoints but not the sleep glyph + * (U+F0904), and heading the stack with it breaks the row rather than fixing + * it. Verified by screenshot, both ways. */ element-text { font: "Inconsolata Nerd Font Mono 42"; horizontal-align: 0.5; -- cgit v1.2.3