244 lines
6.9 KiB
Plaintext
244 lines
6.9 KiB
Plaintext
/* ---- Configuration ---- */
|
|
|
|
configuration {
|
|
modi: "drun,run,filebrowser";
|
|
show-icons: true;
|
|
display-drun: " apps";
|
|
display-run: " term";
|
|
display-filebrowser: " files";
|
|
display-window: " window";
|
|
drun-display-format: "{name}";
|
|
window-format: "{w} · {c} · {t}";
|
|
dpi: 1;
|
|
hover-select: true;
|
|
me-select-entry: "MouseSecondary";
|
|
me-accept-entry: "MousePrimary";
|
|
}
|
|
|
|
/* ---- Load wallust colors ---- */
|
|
@theme "~/.config/rofi/wallust/colors-rofi.rasi"
|
|
|
|
/* ---- Global Properties ---- */
|
|
* {
|
|
background-alt: @color1;
|
|
selected: @color12;
|
|
active: @color11;
|
|
urgent: red;
|
|
|
|
text-selected: @background;
|
|
text-color: @foreground;
|
|
border-color: @selected;
|
|
}
|
|
|
|
/*****-- Elements Font Size -----*****/
|
|
element-text {
|
|
font: "JetBrainsMono Nerd Font SemiBold 12";
|
|
}
|
|
/* ---- Window ---- */
|
|
window {
|
|
// Default
|
|
enabled: true;
|
|
fullscreen: false;
|
|
transparency: "real";
|
|
cursor: "default";
|
|
spacing: 0px;
|
|
border: 3px 0px 3px 0px;
|
|
border-radius: 30px;
|
|
location: center;
|
|
anchor: center;
|
|
|
|
// Style Values
|
|
width: 50%;
|
|
background-color: @background;
|
|
}
|
|
|
|
/* ----- Main Box ----- */
|
|
mainbox {
|
|
padding: 12px;
|
|
enabled: true;
|
|
orientation: vertical;
|
|
children: [ "inputbar", "listbox" ];
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
/* ---- Inputbar ---- */
|
|
inputbar {
|
|
enabled: true;
|
|
padding: 10px 10px 50px 10px;
|
|
margin: 10px;
|
|
background-color: transparent;
|
|
border-radius: 20px;
|
|
orientation: horizontal;
|
|
children: ["entry", "dummy", "mode-switcher" ];
|
|
background-image: url("~/.config/rofi/.current_wallpaper", width);
|
|
}
|
|
|
|
/* ---- Entry input ---- */
|
|
entry {
|
|
enabled: true;
|
|
expand: false;
|
|
width: 20%;
|
|
padding: 10px;
|
|
border-radius: 12px;
|
|
background-color: @active;
|
|
text-color: @text-selected;
|
|
cursor: text;
|
|
placeholder: " 🖥️ Search ";
|
|
placeholder-color: inherit;
|
|
}
|
|
|
|
/* ---- Listbox ---- */
|
|
listbox {
|
|
spacing: 10px;
|
|
padding: 10px;
|
|
background-color: transparent;
|
|
orientation: vertical;
|
|
children: [ "message", "listview" ];
|
|
}
|
|
|
|
/* ---- Listview ---- */
|
|
listview {
|
|
enabled: true;
|
|
columns: 5;
|
|
lines: 5;
|
|
cycle: true;
|
|
dynamic: true;
|
|
scrollbar: true;
|
|
layout: vertical;
|
|
reverse: false;
|
|
fixed-height: true;
|
|
fixed-columns: true;
|
|
spacing: 10px;
|
|
background-color: transparent;
|
|
margin: 10px;
|
|
text-color: @foreground;
|
|
|
|
// Adapt rofi theme
|
|
border: 0px;
|
|
}
|
|
|
|
/* ---- Dummy ---- */
|
|
dummy {
|
|
expand: true;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* ---- Mode Switcher ---- */
|
|
mode-switcher{
|
|
enabled: true;
|
|
spacing: 10px;
|
|
background-color: transparent;
|
|
}
|
|
button {
|
|
width: 5%;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
background-color: @text-selected;
|
|
text-color: @text-color;
|
|
cursor: pointer;
|
|
}
|
|
button selected {
|
|
background-color: @selected;
|
|
text-color: @text-selected;
|
|
}
|
|
|
|
/* ---- Scrollbar ---- */
|
|
scrollbar {
|
|
border: 0px;
|
|
border-radius: 10px;
|
|
border-color: @color12;
|
|
handle-color: @color11;
|
|
handle-width: 2px ;
|
|
padding: 0;
|
|
}
|
|
|
|
/* ---- Elements ---- */
|
|
element {
|
|
enabled: true;
|
|
orientation: vertical;
|
|
padding: 10px;
|
|
spacing: 10px;
|
|
border-radius: 12px;
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
element normal.normal {
|
|
background-color: inherit;
|
|
text-color: inherit;
|
|
}
|
|
element normal.urgent {
|
|
background-color: @urgent;
|
|
text-color: @foreground;
|
|
}
|
|
element normal.active {
|
|
background-color: @active;
|
|
text-color: @foreground;
|
|
}
|
|
|
|
element selected.normal {
|
|
border: 0px 3px 0px 3px;
|
|
border-radius: 16px;
|
|
border-color: @active;
|
|
background-color: transparent;
|
|
text-color: @selected;
|
|
}
|
|
|
|
element selected.urgent {
|
|
background-color: @urgent;
|
|
text-color: @text-selected;
|
|
}
|
|
element selected.active {
|
|
background-color: @urgent;
|
|
text-color: @text-selected;
|
|
}
|
|
// Adapt rofi theme
|
|
element alternate.normal {
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
element alternate.urgent {
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
element alternate.active {
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
element-icon {
|
|
size: 3%;
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
cursor: inherit;
|
|
}
|
|
element-text {
|
|
size: 1%;
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
cursor: inherit;
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.5;
|
|
}
|
|
|
|
/* ---- Message ---- */
|
|
message {
|
|
background-color: transparent;
|
|
border: 0px;
|
|
}
|
|
textbox {
|
|
margin: 10px;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background-color: @active;
|
|
text-color: @foreground;
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.5;
|
|
}
|
|
error-message {
|
|
padding: 12px;
|
|
border-radius: 20px;
|
|
background-color: @background;
|
|
text-color: @foreground;
|
|
}
|