configuration { modi: "drun"; icon-theme: "Papirus-Dark"; application-fallback-icon: "Adwaita"; show-icons: true; drun-display-format: "{name}"; disable-history: true; sidebar-mode: false; } /*****----- Global Properties -----*****/ * { font: "FiraCode Nerd Font Bold 9"; background: #000; background-alt: #000; foreground: #c0caf5; selected: #7aa2f7; } /*****----- Main Window -----*****/ window { /* properties for window widget */ transparency: "real"; location: center; anchor: center; fullscreen: false; width: 500px; height: 39%; x-offset: 0px; y-offset: 0px; /* properties for all widgets */ enabled: true; border-radius: 6px; cursor: "default"; background-color: @background; } /*****----- Main Box -----*****/ mainbox { enabled: true; spacing: 0px; background-color: transparent; orientation: vertical; children: [ "inputbar", "listbox" ]; } listbox { spacing: 10px; padding: 10px 5px 10px 5px; background-color: transparent; orientation: vertical; children: [ "message", "listview" ]; } /*****----- Inputbar -----*****/ inputbar { enabled: true; spacing: 10px; padding: 40px 40px 45px; background-color: transparent; background-image: url("~/.config/bspwm/assets/em-rofi.webp", width); text-color: @foreground; orientation: horizontal; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; str: ""; padding: 12px 15px; border-radius: 8px; background-color: @background-alt; text-color: inherit; } entry { enabled: true; expand: true; padding: 12px 16px; border-radius: 8px; background-color: @background-alt; text-color: inherit; cursor: text; placeholder: "Search"; placeholder-color: inherit; } dummy { expand: true; background-color: transparent; } /*****----- Listview -----*****/ listview { enabled: true; columns: 3; cycle: false; dynamic: true; scrollbar: false; layout: vertical; reverse: false; fixed-height: true; fixed-columns: true; spacing: 0px; background-color: transparent; text-color: @foreground; cursor: "default"; } /*****----- Elements -----*****/ element { enabled: true; spacing: 10px; padding: 8px; border-radius: 4px; background-color: transparent; text-color: @foreground; cursor: pointer; } element normal.normal { background-color: inherit; text-color: inherit; } element selected.normal { background-color: @selected; text-color: @background; } element-icon { background-color: transparent; text-color: inherit; size: 24px; cursor: inherit; } element-text { background-color: transparent; text-color: inherit; cursor: inherit; vertical-align: 0.5; horizontal-align: 0.0; } /*****----- Message -----*****/ message { background-color: transparent; } textbox { padding: 12px; border-radius: 5px; background-color: @background-alt; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { padding: 12px; border-radius: 5px; background-color: @background; text-color: @foreground; }