/*****----- Configuration -----*****/ configuration { modi: "drun,run,filebrowser,window"; show-icons: true; display-drun: "APPS"; display-run: "RUN"; display-filebrowser: "FILES"; display-window: "WINDOW"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; terminal: "/usr/bin/alacritty"; /* Animation settings */ window-animation: true; window-animation-duration: 1000; } /*****----- Global Properties -----*****/ * { font: "Tabac Sans SemiBold 14"; background: #1d2021; /* Gruvbox bg_hard */ background-alt: #282828; /* Gruvbox bg0 */ foreground: #ebdbb2; /* Gruvbox fg */ selected: #d79921; /* Gruvbox yellow */ active: #83a598; /* Gruvbox blue */ urgent: #fb4934; /* Gruvbox red */ } /*****----- Main Window -----*****/ window { /* properties for window widget */ transparency: "screenshot"; location: center; anchor: center; fullscreen: false; width: 1000px; x-offset: 0px; y-offset: 0px; /* properties for all widgets */ enabled: true; cursor: "default"; background-color: @background; } /*****----- Main Box -----*****/ mainbox { enabled: true; spacing: 0px; background-color: transparent; orientation: horizontal; children: [ "imagebox", "listbox" ]; } imagebox { padding: 20px; background-color: transparent; background-image: url("~/.config/rofi/themes/Girl_with_a_Pearl_Earring.webp", height); orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } listbox { spacing: 20px; padding: 20px; background-color: transparent; orientation: vertical; children: [ "message", "listview" ]; } dummy { background-color: transparent; } /*****----- Inputbar -----*****/ inputbar { enabled: true; spacing: 10px; padding: 15px; border-radius: 10px; background-color: @background-alt; text-color: @foreground; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; str: ""; background-color: inherit; text-color: inherit; } entry { enabled: true; background-color: inherit; text-color: inherit; cursor: text; placeholder: "Search"; placeholder-color: inherit; } /*****----- Mode Switcher -----*****/ mode-switcher{ enabled: true; spacing: 20px; background-color: transparent; text-color: @foreground; } button { padding: 15px; border-radius: 10px; background-color: @background-alt; text-color: inherit; cursor: pointer; } button selected { background-color: @selected; text-color: @background; } /*****----- Listview -----*****/ listview { enabled: true; border: 0px; columns: 1; lines: 8; cycle: true; dynamic: true; scrollbar: false; layout: vertical; reverse: false; fixed-height: true; fixed-columns: true; spacing: 10px; background-color: transparent; text-color: @foreground; cursor: "default"; } /*****----- Elements -----*****/ element { enabled: true; spacing: 15px; padding: 8px; border-radius: 10px; background-color: transparent; text-color: @foreground; cursor: pointer; } element normal.normal { background-color: transparent; text-color: @foreground; } element normal.urgent { background-color: @urgent; text-color: @foreground; } element normal.active { background-color: @active; text-color: @foreground; } element selected.normal { background-color: @selected; text-color: @background; } element selected.urgent { background-color: @urgent; text-color: @foreground; } element selected.active { background-color: @active; text-color: @foreground; } element alternate.normal { background-color: transparent; text-color: @foreground; } element alternate.urgent { background-color: @urgent; text-color: @foreground; } element alternate.active { background-color: @active; text-color: @foreground; } element-icon { background-color: transparent; text-color: inherit; size: 32px; 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; border: 0px; } textbox { padding: 15px; border-radius: 10px; background-color: @background-alt; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { padding: 15px; border-radius: 20px; background-color: @background; text-color: @foreground; }