/** * * Author : Aditya Shakya (adi1090x) * Github : @adi1090x * * Rofi Theme File * Rofi Version: 1.7.3 **/ /*****----- Configuration -----*****/ configuration { modi: "drun,run,filebrowser,window"; show-icons: true; display-drun: " Apps"; display-run: " Run"; display-filebrowser: " Files"; display-ssh: " SSH"; display-window: " Windows"; drun-display-format: "{name}"; window-format: "{w} · {c} · {t}"; } /*****----- Global Properties -----*****/ * { font: "{{ .fonts.main }} 10"; } /*****----- Main Window -----*****/ window { /* properties for window widget */ transparency: "real"; location: center; anchor: center; fullscreen: false; width: 800px; x-offset: 0px; y-offset: 0px; /* properties for all widgets */ enabled: true; margin: 0px; padding: 0px; border: 0px solid; border-radius: 10px; // border-color: {{ .colors.color9 }}; cursor: "default"; /* Backgroud Colors */ background-color: {{ .colors.color1 }}; // nord0 /* Backgroud Image */ //background-image: url("/path/to/image.png", none); /* Simple Linear Gradient */ //background-image: linear-gradient(red, orange, pink, purple); /* Directional Linear Gradient */ //background-image: linear-gradient(to bottom, pink, yellow, magenta); /* Angle Linear Gradient */ //background-image: linear-gradient(45, cyan, purple, indigo); } /*****----- Main Box -----*****/ mainbox { enabled: true; spacing: 10px; margin: 0px; padding: 20px; border: 0px solid; border-radius: 0px 0px 0px 0px; border-color: {{ .colors.color9 }}; background-color: transparent; children: [ "inputbar", "mode-switcher", "message", "listview" ]; } /*****----- Inputbar -----*****/ inputbar { enabled: true; spacing: 10px; margin: 0px; padding: 5px 5px 5px 10px; // padding: 0px; border: 0px solid; border-radius: 0px; border-color: {{ .colors.color9 }}; background-color: {{ .colors.color0 }}; // background-color: transparent; text-color: {{ .colors.color5 }}; children: [ "textbox-prompt-colon", "entry" ]; } prompt { enabled: true; background-color: inherit; text-color: inherit; } textbox-prompt-colon { enabled: true; padding: 5px 0px; expand: false; str: ""; element-icon: "24px"; background-color: inherit; text-color: inherit; } entry { enabled: true; padding: 5px 0px; background-color: inherit; text-color: inherit; cursor: text; placeholder: "Search..."; placeholder-color: inherit; } num-filtered-rows { enabled: true; expand: false; background-color: inherit; text-color: inherit; } textbox-num-sep { enabled: true; expand: false; str: "/"; background-color: inherit; text-color: inherit; } num-rows { enabled: true; expand: false; background-color: inherit; text-color: inherit; } case-indicator { enabled: true; background-color: inherit; text-color: inherit; } /*****----- Listview -----*****/ listview { enabled: true; columns: 1; lines: 8; cycle: true; dynamic: true; scrollbar: false; layout: vertical; reverse: false; fixed-height: true; fixed-columns: true; spacing: 5px; margin: 0px; padding: 0px; border: 0px solid; border-radius: 0px; border-color: {{ .colors.color9 }}; background-color: transparent; text-color: {{ .colors.color5 }}; cursor: "default"; } scrollbar { handle-width: 5px ; handle-color: {{ .colors.color9 }}; border-radius: 10px; background-color: {{ .colors.color1 }}; } /*****----- Elements -----*****/ element { enabled: true; spacing: 10px; margin: 0px; padding: 10px; border: 0px solid; border-radius: 8px; border-color: {{ .colors.color9 }}; background-color: transparent; text-color: {{ .colors.color5 }}; cursor: pointer; } element normal.normal { background-color: {{ .colors.color1 }}; // nord0 text-color: {{ .colors.color5 }}; } element normal.urgent { background-color: {{ .colors.color11 }}; text-color: {{ .colors.color1 }}; // nord0 } element normal.active { background-color: {{ .colors.color14 }}; text-color: {{ .colors.color1 }}; // nord0 } element selected.normal { background-color: {{ .colors.color9 }}; text-color: {{ .colors.color1 }}; // nord0 } element selected.urgent { background-color: {{ .colors.color14 }}; text-color: {{ .colors.color1 }}; // nord0 } element selected.active { background-color: {{ .colors.color11 }}; text-color: {{ .colors.color1 }}; // nord0 } element alternate.normal { background-color: {{ .colors.color1 }}; // nord0 text-color: {{ .colors.color5 }}; } element alternate.urgent { background-color: {{ .colors.color11 }}; text-color: {{ .colors.color1 }}; // nord0 } element alternate.active { background-color: {{ .colors.color14 }}; text-color: {{ .colors.color1 }}; // nord0 } element-icon { background-color: transparent; text-color: inherit; size: 24px; cursor: inherit; } element-text { background-color: transparent; text-color: inherit; highlight: inherit; cursor: inherit; vertical-align: 0.5; horizontal-align: 0.0; } /*****----- Mode Switcher -----*****/ mode-switcher{ enabled: true; expand: false; spacing: 10px; margin: 0px; padding: 0px; border: 0px solid; border-radius: 0px; border-color: {{ .colors.color9 }}; background-color: transparent; text-color: {{ .colors.color5 }}; } button { padding: 12px; border: 0px solid; border-radius: 8px; border-color: {{ .colors.color9 }}; background-color: {{ .colors.color0 }}; // nord1 text-color: inherit; cursor: pointer; } button selected { background-color: {{ .colors.color14 }}; // nord9 text-color: {{ .colors.color1 }}; // nord0 } /*****----- Message -----*****/ message { enabled: true; margin: 0px; padding: 0px; border: 0px solid; border-radius: 0px 0px 0px 0px; border-color: {{ .colors.color9 }}; background-color: transparent; text-color: {{ .colors.color5 }}; } textbox { padding: 12px; border: 0px solid; border-radius: 8px; border-color: {{ .colors.color9 }}; background-color: {{ .colors.color1 }}; text-color: {{ .colors.color5 }}; vertical-align: 0.5; horizontal-align: 0.0; highlight: none; placeholder-color: {{ .colors.color5 }}; blink: true; markup: true; } error-message { padding: 0px; border: 2px solid; border-radius: 8px; border-color: {{ .colors.color9 }}; background-color: {{ .colors.color1 }}; // nord0 text-color: {{ .colors.color5 }}; }