/** * * Author : Aditya Shakya (adi1090x) * Github : @adi1090x * * Rofi Theme File * Rofi Version: 1.7.3 **/ /*****----- Configuration -----*****/ configuration { show-icons: false; hover-select: true; me-select-entry: ""; me-accept-entry: [ MousePrimary, MouseSecondary, MouseDPrimary ]; kb-cancel: "Escape,MousePrimary"; } /*****----- Global Properties -----*****/ @import "~/.config/rofi/colors.rasi" /*****----- Main Window -----*****/ window { /* properties for window widget */ transparency: "real"; location: North East; anchor: center; fullscreen: false; width: 440px; x-offset: -10px; y-offset: 0px; /* properties for all widgets */ enabled: true; margin: 0px; padding: 0px; border: 0px solid; border-radius: 10px; border-color: @foreground; cursor: "default"; background-color: @background; } /*****----- Main Box -----*****/ mainbox { enabled: true; spacing: 10px; margin: 0px; padding: 10px; border: 0px solid; border-radius: 0px; border-color: @foreground; background-color: transparent; children: [ "inputbar", "message", "listview" ]; } /*****----- Inputbar -----*****/ inputbar { enabled: false; spacing: 10px; margin: 0px; padding: 0px; border: 0px; border-radius: 0px; border-color: @foreground; background-color: transparent; text-color: @foreground; children: [ "textbox-prompt-colon", dummy, "prompt"]; } dummy { background-color: transparent; } textbox-prompt-colon { enabled: false; expand: false; str: ""; padding: 0px 0px; border-radius: 4px; background-color: @red; text-color: @background; } prompt { enabled: false; padding: 0px; border-radius: 4px; background-color: @foreground; text-color: @background; } /*****----- Message -----*****/ message { enabled: true; margin: 0px; padding: 0px; border: 0px solid; border-radius: 4px; border-color: @foreground; background-color: @background; text-color: @foreground; } textbox { background-color: inherit; text-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; placeholder-color: @foreground; blink: true; markup: true; } error-message { padding: 10px; border: 0px solid; border-radius: 0px; border-color: @foreground; background-color: @background; text-color: @foreground; } /*****----- 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: 10px; margin: 0px; padding: 0px; border: 0px solid; border-radius: 0px; border-color: @foreground; background-color: transparent; text-color: @foreground; cursor: "default"; } /*****----- Elements -----*****/ element { enabled: true; spacing: 0px; margin: 0px; padding: 10px; border: 0px solid; border-radius: 4px; border-color: @foreground; background-color: @backgroundAlt; text-color: @foreground; cursor: pointer; } element-text { background-color: transparent; text-color: inherit; cursor: inherit; vertical-align: 0.5; horizontal-align: 0.5; } element selected.normal { border: 0px 2px 0px 2px; border-radius: 4px; background-color: @foreground; text-color: @background; }