Files
hyprland/config/rofi/config-powermenu.rasi
T
2024-01-18 14:36:22 +05:45

128 lines
3.9 KiB
Plaintext

/* --- Configuration for Rofi Power ---- */
/* ---- Configuration ---- */
configuration {
show-icons: false;
}
* {
font: "Fira Code SemiBold 12";
background: #1E1D2FFF;
background-alt: #282839FF;
foreground: #D9E0EEFF;
selected: #7AA2F7FF;
active: #ABE9B3FF;
urgent: #F28FADFF;
}
/* ---- Main Window ---- */
window {
location: center;
anchor: center;
fullscreen: false;
width: 900px;
height: 400px;
x-offset: 0px;
y-offset: 0px;
padding: 0px;
border: 2px;
border-radius: 15px;
border-color: @foreground;
cursor: "default";
background-color: transparent;
}
/* ---- 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: @foreground;
background-color: @foreground;
children: [ "inputbar", "listview", "message" ];
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 20px;
background-color: transparent;
orientation: horizontal;
children: ["prompt"];
}
prompt {
enabled: true;
padding: 10px;
border-radius: 15px;
border-color: @foreground;
background-color: transparent;
text-color: #FFFF00;
cursor: text;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 3;
lines: 2;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 40px;
padding: 4% 40px;
background-color: transparent;
cursor: "default";
border: 0px;
border-color: @foreground;
}
/* ---- Elements ---- */
element {
enabled: true;
padding: 20px;
border-radius: 30px;
background-color: transparent;
text-color: #FFFF00;
cursor: pointer;
}
element-text {
font: "JetBrainsMono SemiBold 16";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: @selected;
text-color: @background;
}
/* ---- Message ---- */
message {
enabled: true;
margin: 0px;
background-color: transparent;
text-color: @foreground;
border: 0px;
}
textbox {
font: "JetBrainsMono SemiBold 8";
background-color: @background;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
}