From 774bb3dce800c8ac01d16df54af9f57479ffd365 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 25 Mar 2024 23:38:45 +1300 Subject: [PATCH] feat(rofi): add message box to rofi --- .../desktop/wayland/launcher/rofi/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/modules/desktop/wayland/launcher/rofi/default.nix b/home/modules/desktop/wayland/launcher/rofi/default.nix index 102d7ff..1ea0724 100644 --- a/home/modules/desktop/wayland/launcher/rofi/default.nix +++ b/home/modules/desktop/wayland/launcher/rofi/default.nix @@ -19,6 +19,7 @@ in background = mkLiteral "#${colors.base00}"; foreground = mkLiteral "#${colors.base05}"; selected = mkLiteral "#${colors.base0B}"; + message = mkLiteral "#${colors.base0D}"; background-color = mkLiteral "@background"; border-color = mkLiteral "@foreground"; @@ -30,7 +31,16 @@ in width = mkLiteral "15%"; border = mkLiteral "2"; padding = mkLiteral "10"; - children = mkLiteral "[inputbar,listview]"; + children = mkLiteral "[message,listview,inputbar]"; + }; + + "message" = { + children = mkLiteral "[textbox]"; + }; + + "textbox" = { + text-color = mkLiteral "@message"; + horizontal-align = mkLiteral "0.50"; }; "inputbar" = {