{ pkgs, ... }@all: with all; { home = { packages = with pkgs; [ rofi-wayland ]; file = let # the home-manager module sucks trdr = "${rice.lib.float-to-drune rice.transparency}"; ts = builtins.toString; in with rice.color; { ".config/rofi/config.rasi".text = '' configuration { show-icons: false; display-drun: ""; disable-history: false; } * { font: "${rice.font.code.name} 12"; foreground: ${foreground}; text-color: ${foreground}; background-color: transparent; padding: 0px; margin: 0px; spacing: 0px; border-width: 0px; } window { background-color: ${background}${trdr}; border: ${ts rice.border-width}px; border-radius: ${ts rice.rounding}px; border-color: ${ts rice.color.border}; } listview { scrollbar: false; } element { border-radius: ${ts rice.rounding}px; } element.normal.normal { background-color: ${accent.darker}; text-color: ${accent.base}; } element.selected.normal { background-color: ${accent.base}; text-color: ${accent.darker}; } element.alternate.normal { background-color: ${secondary.darker}; text-color: ${secondary.base}; } inputbar { children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; } prompt { } textbox-prompt-colon { expand: false; str: ">"; } case-indicator { } entry { placeholder: ""; } ''; }; }; }