aboutsummaryrefslogtreecommitdiffstats
path: root/rofi
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-11 10:26:17 +0200
committerDanilo M. <danix@danix.xyz>2026-09-11 10:26:17 +0200
commit67fe682635eccd9c7da108cf5f85227b3f8dae49 (patch)
tree96ea8fb97dfa397deea56481eefbe6952fefeea4 /rofi
parent09c49e55c655746c9a1dfdcccfad09cee488a887 (diff)
downloadunified-desktop-theme-67fe682635eccd9c7da108cf5f85227b3f8dae49.tar.gz
unified-desktop-theme-67fe682635eccd9c7da108cf5f85227b3f8dae49.zip
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
Diffstat (limited to 'rofi')
-rw-r--r--rofi/udt/powermenu.rasi11
1 files changed, 10 insertions, 1 deletions
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;