hyprland-dotfiles/config/rofi/themes/style-7.rasi

200 lines
6.3 KiB
Plaintext

/* Rofi Style 7 */
/* original design from: https://github.com/adi1090x/rofi */
/*****----- Configuration -----*****/
configuration {
modi: "drun,run,filebrowser,window";
show-icons: true;
display-drun: " ";
display-run: " ";
display-filebrowser: " ";
display-window: " ";
drun-display-format: "{name}";
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: #8E3596;
}
/*****-- Elements Font Size -----*****/
element-text {
font: "JetBrainsMono Nerd Font SemiBold 12";
}
/*****----- Main Window -----*****/
window {
transparency: "real";
location: center;
anchor: center;
fullscreen: false;
width: 40%;
x-offset: 0px;
y-offset: 0px;
enabled: true;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 20px;
border-color: @selected;
background-color: @background-alt;
cursor: "default";
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 15px;
margin: 40px;
padding: 0px;
border: 0px solid;
border-radius: 0px 0px 0px 0px;
border-color: @selected;
background-color: transparent;
children: [ "inputbar", "message", "listview" ];
}
/*****----- Inputbar -----*****/
inputbar {
enabled: true;
spacing: 0px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 100%;
border-color: @selected;
background-color: @background-alt;
text-color: @foreground;
children: [ "entry" ];
}
prompt {
enabled: true;
padding: 15px;
border-radius: 100%;
background-color: @selected;
text-color: @background;
}
textbox-prompt-colon {
enabled: true;
expand: false;
str: ":::";
padding: 15px;
background-color: inherit;
text-color: inherit;
}
entry {
enabled: true;
padding: 15px 0px;
background-color: inherit;
text-color: @foreground;
cursor: text;
placeholder: "Search... 👀 NOTE: CTRL TAB to change MODE";
placeholder-color: inherit;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 2;
lines: 6;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 15px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
background-color: transparent;
text-color: @foreground;
cursor: "default";
}
scrollbar {
handle-width: 2px ;
handle-color: @selected;
border-radius: 0px;
background-color: @background-alt;
}
/*****----- Elements -----*****/
element {
enabled: true;
spacing: 10px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
background-color: transparent;
text-color: @foreground;
orientation: horizontal;
cursor: pointer;
}
element normal.normal {
background-color: transparent;
text-color: @foreground;
}
element selected.normal {
border-radius: 10%;
background-color: @color11;
text-color: @foreground;
}
element-icon {
padding: 0px;
border-radius: 100%;
background-color: transparent;
text-color: inherit;
size: 5%;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
highlight: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/*****----- Message -----*****/
message {
background-color: transparent;
border: 0px;
}
error-message {
padding: 20px;
border: 2px solid;
border-radius: 20px;
border-color: @active;
background-color: @background;
text-color: @foreground;
}
textbox {
padding: 10px;
border-radius: 20px;
background-color: @selected;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
highlight: none;
}