configuration { modi: "drun"; drun-match-fields: "name"; matching: "glob"; sort: true; show-icons: true; font: "JetBrainsMono Nerd Font 10"; } @theme "~/.config/rofi/theme.rasi" window { height: 30em; width: 57em; padding: @border-width; background-color: @primary; border-color: @primary; border-radius: @outer-radius; } mainbox { orientation: horizontal; children: [ "inputbar" , "listbox" ]; background-color: @base; border-radius: @outer-radius; } inputbar { width: 27em; children: [ "entry" ]; background-image: @background; } entry { enabled: false; } listbox { margin: 1em; children: [ "dummy" , "listview" , "dummy" ]; background-color: transparent; } listview { columns: 1; lines: 7; scrollbar: false; expand: false; fixed-height: true; fixed-columns: true; text-color: @text; background-color: transparent; } dummy { background-color: transparent; } element { spacing: 1em; padding: 0.5em 0.5em 0.5em 1.5em; cursor: pointer; text-color: @text; background-color: transparent; border-radius: @inner-radius; } element selected.normal { text-color: @surface; background-color: @primary; } element-icon { size: 2.7em; cursor: inherit; text-color: inherit; background-color: transparent; } element-text { vertical-align: 0.5; horizontal-align: 0.0; text-color: inherit; background-color: transparent; } error-message { text-color: @text; background-color: @base; text-transform: capitalize; children: [ "textbox" ]; } textbox { text-color: @error; background-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; }