Files
hyprland/config/rofi/powermenu.rasi
T
2024-05-14 17:24:53 +05:45

175 lines
5.5 KiB
Plaintext

/*****----- Configuration -----*****/
configuration {
show-icons: false;
}
/*****----- Global Properties -----*****/
* {
font: "Iosevka Nerd Font Bold 11";
background: #000000FF;
background-alt: #0A0B0CFF;
foreground: #E0CDA5FF;
selected: #DB4740FF;
active: #B1B946FF;
urgent: #DB4740FF;
}
/*****----- Main Window -----*****/
window {
/* properties for window widget */
transparency: "real";
location: south east;
anchor: south east;
fullscreen: false;
width: 450px;
x-offset: 0px;
y-offset: -9px;
/* properties for all widgets */
enabled: true;
margin: 0px;
padding: 0px;
border: 1px solid;
border-radius: 6px;
border-color: @selected;
cursor: "default";
background-color: @background;
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 15px;
margin: 0px;
padding: 30px;
border: 0px solid;
border-radius: 5px;
border-color: @selected;
background-color: transparent;
children: [ "message", "listview" ];
}
/*****----- Inputbar -----*****/
inputbar {
enabled: false;
spacing: 15px;
margin: 0px;
padding: 0px;
border: 0px;
border-radius: 5px;
border-color: @selected;
background-color: transparent;
text-color: @foreground;
children: [ "textbox-prompt-colon", "prompt"];
}
dummy {
background-color: transparent;
}
textbox-prompt-colon {
font: "JetBrainsMono Nerd Font 12";
enabled: false;
expand: false;
str: "";
padding: 0 14px;
border-radius: 10px;
border-color: @urgent;
border: 2px solid;
background-color: @background;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
}
prompt {
enabled: false;
padding: 12px;
border-radius: 10px;
border-color: @active;
border: 2px solid;
background-color: @background;
text-color: @foreground;
}
/*****----- Message -----*****/
message {
enabled: false;
margin: 0px;
padding: 12px;
border: 0px solid;
border-radius: 10px;
border-color: @selected;
background-color: @background-alt;
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: 12px;
border: 0px solid;
border-radius: 10px;
border-color: @selected;
background-color: @background;
text-color: @foreground;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 5;
lines: 1;
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";
}
/*****----- Elements -----*****/
element {
enabled: true;
spacing: 0px;
margin: 0px;
padding: 10px;
border: 0px solid;
border-radius: 10px;
border-color: @selected;
background-color: @background;
text-color: @foreground;
cursor: pointer;
}
element-text {
font: "JetBrainsMono Nerd Font 24";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: var(background);
border-color: var(selected);
border: 0px solid;
text-color: var(selected);
}