Improve The HELL Out Of Rofi

This commit is contained in:
Tyler Kelley 2024-02-08 01:25:40 -06:00
parent 5e80863053
commit cc596232e1

View File

@ -7,86 +7,125 @@ in {
@theme "/dev/null"
* {
bg: #${palette.base00};
background-color: @bg;
bg: #${palette.base00};
background-color: @bg;
}
configuration {
show-icons: true;
icon-theme: "Papirus";
location: 0;
font: "Ubuntu 12";
display-drun: "Launch:";
modi: "run,filebrowser,drun";
show-icons: true;
icon-theme: "Papirus";
location: 0;
font: "JetBrains Nerd Font 16";
drun-display-format: "{icon} {name}";
display-drun: " Apps ";
display-run: " Run ";
display-filebrowser: " File ";
}
window {
width: 35%;
transparency: "real";
orientation: vertical;
border-color: #${palette.base0B};
border-radius: 10px;
width: 45%;
transparency: "real";
orientation: vertical;
border: 2px ;
border-color: #${palette.base0F};
border-radius: 10px;
}
mainbox {
children: [inputbar, listview];
children: [ inputbar, listview, mode-switcher ];
}
// ELEMENT
// -----------------------------------
element {
padding: 4 12;
text-color: #${palette.base05};
border-radius: 5px;
padding: 8 14;
text-color: #${palette.base05};
border-radius: 5px;
}
element selected {
text-color: #${palette.base01};
background-color: #${palette.base0B};
text-color: #${palette.base01};
background-color: #${palette.base0C};
}
element-text {
background-color: inherit;
text-color: inherit;
background-color: inherit;
text-color: inherit;
}
element-icon {
size: 16 px;
background-color: inherit;
padding: 0 6 0 0;
alignment: vertical;
size: 24 px;
background-color: inherit;
padding: 0 6 0 0;
alignment: vertical;
}
listview {
columns: 2;
lines: 9;
padding: 8 0;
fixed-height: true;
fixed-columns: true;
fixed-lines: true;
border: 0 10 6 10;
columns: 2;
lines: 9;
padding: 8 0;
fixed-height: true;
fixed-columns: true;
fixed-lines: true;
border: 0 10 6 10;
}
// INPUT BAR
//------------------------------------------------
entry {
text-color: #${palette.base05};
padding: 10 10 0 0;
margin: 0 -2 0 0;
text-color: #${palette.base05};
padding: 10 10 0 0;
margin: 0 -2 0 0;
}
inputbar {
background-image: url("~/.config/rofi/rofi.jpg", width);
padding: 180 0 0;
margin: 0 0 0 0;
background-image: url("~/.config/rofi/rofi.jpg", width);
padding: 180 0 0;
margin: 0 0 0 0;
}
prompt {
text-color: #${palette.base0D};
padding: 10 6 0 10;
margin: 0 -2 0 0;
text-color: #${palette.base0D};
padding: 10 6 0 10;
margin: 0 -2 0 0;
}
// Mode Switcher
//------------------------------------------------
mode-switcher {
border-color: #${palette.base0F};
spacing: 0;
}
button {
padding: 10px;
background-color: @bg;
text-color: #${palette.base01};
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg;
text-color: #${palette.base0F};
}
message {
background-color: @bg;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: #${palette.base0F};
background-color: @bg;
}
'';
}