Handy dot files with sensible bindings and settings
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

125 lines
4.1 KiB

/* --- Configuration for Rofi Power ---- */
/* ---- Configuration ---- */
configuration {
show-icons: false;
}
/* ---- Load pywal colors (custom wal template) ---- */
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
/* ---- Global Properties ---- */
* {
font: "Fira Code Medium 10";
}
/* ---- Main Window ---- */
window {
location: east;
anchor: center;
fullscreen: false;
width: 280px;
/*height: 500px;*/
x-offset: -10px;
/* Debian/Ubuntu users use this offset */
/* x-offset: -130px; */
y-offset: 0px;
padding: 0px;
border: 3px;
border-radius: 10px;
border-color: @active-background;
cursor: "default";
background-color: @background-color;
}
/* ---- Main Box ---- */
mainbox {
enabled: true;
spacing: 0px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
border-color: @active-background;
background-color: @background-color;
children: [ "inputbar", "listview", "message" ];
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 5px;
background-color: transparent;
orientation: horizontal;
children: ["prompt"];
}
prompt {
enabled: true;
/*padding: 10px;*/
border-radius: 10px;
border-color: @foreground;
background-color: @background;
text-color: @foreground;
cursor: text;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 1;
lines: 7;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 20px;
padding: 20px;
background-color: transparent;
cursor: "default";
border: 0px;
border-color: @active-background;
}
/* ---- Elements ---- */
element {
enabled: true;
padding: 30px 40px 30px 40px;
border-radius: 20px;
background-color: transparent;
text-color: @foreground;
cursor: pointer;
}
element-text {
font: "Fira Code SemiBold 16";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @background;
}
/* ---- Message ---- */
message {
enabled: true;
margin: 0px;
background-color: transparent;
text-color: @foreground;
border: 0px;
}
textbox {
font: "Fira Code SemiBold 8";
background-color: @background;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
}