/* --- Configuration for Rofi Power ---- */ /* ---- Configuration ---- */ configuration { show-icons: false; } /* ---- Load pywal colors (custom wal template) ---- */ @import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Global Properties ---- */ * { font: "JetBrains Mono Nerd Font 14"; } /* ---- Main Window ---- */ window { transparency: "real"; location: center; anchor: center; fullscreen: false; width: 25%; height: 25%; x-offset: 0px; y-offset: 0px; padding: 0px; border: 2px solid; border-radius: 15px; border-color: @active-background; cursor: "default"; background-color: @background-color; } /* ---- Main Box ---- */ mainbox { enabled: true; spacing: 0px; margin: 0px; padding: 0px; border: 0px solid; border-radius: 0px; background-image: url("~/.config/rofi/.current_wallpaper", width); border-color: @active-background; background-color: @background-color; children: [ "inputbar", "listview", "message" ]; } /* ---- Inputbar ---- */ inputbar { enabled: true; padding: 10px 6.5%; background-color: transparent; orientation: vertical; children: ["prompt"]; } prompt { enabled: true; padding: 1% 2.5%; border-radius: 100% 100% 100% 100%; border-color: @foreground; background-color: @background-color; text-color: @foreground; cursor: text; } /* ---- Listview ---- */ listview { enabled: true; columns: 3; lines: 2; cycle: true; dynamic: true; scrollbar: false; layout: vertical; reverse: false; fixed-height: true; fixed-columns: true; spacing: 20px; padding: 1% 30px; background-color: transparent; cursor: "default"; border: 0px; } /* ---- Elements ---- */ element { enabled: true; padding: 10px; border-radius: 30px; background-color: transparent; text-color: @foreground; cursor: pointer; } element-text { font: "JetBrains Mono Nerd Font 18"; background-color: transparent; text-color: inherit; cursor: inherit; vertical-align: 0.5; horizontal-align: 0.5; } element selected.normal { background-color: @selected-normal-background; text-color: @background; } /* ---- Message ---- */ message { enabled: true; margin: 0px; padding: 15px; border-radius: 0px; background-color: transparent; text-color: @foreground; border: 0px; } textbox { background-color: inherit; text-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; }