mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-21 12:32:51 +02:00
Improve The HELL Out Of Rofi
This commit is contained in:
parent
5e80863053
commit
cc596232e1
@ -7,86 +7,125 @@ in {
|
|||||||
@theme "/dev/null"
|
@theme "/dev/null"
|
||||||
|
|
||||||
* {
|
* {
|
||||||
bg: #${palette.base00};
|
bg: #${palette.base00};
|
||||||
background-color: @bg;
|
background-color: @bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
configuration {
|
configuration {
|
||||||
show-icons: true;
|
modi: "run,filebrowser,drun";
|
||||||
icon-theme: "Papirus";
|
show-icons: true;
|
||||||
location: 0;
|
icon-theme: "Papirus";
|
||||||
font: "Ubuntu 12";
|
location: 0;
|
||||||
display-drun: "Launch:";
|
font: "JetBrains Nerd Font 16";
|
||||||
|
drun-display-format: "{icon} {name}";
|
||||||
|
display-drun: " Apps ";
|
||||||
|
display-run: " Run ";
|
||||||
|
display-filebrowser: " File ";
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
width: 35%;
|
width: 45%;
|
||||||
transparency: "real";
|
transparency: "real";
|
||||||
orientation: vertical;
|
orientation: vertical;
|
||||||
border-color: #${palette.base0B};
|
border: 2px ;
|
||||||
border-radius: 10px;
|
border-color: #${palette.base0F};
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
mainbox {
|
mainbox {
|
||||||
children: [inputbar, listview];
|
children: [ inputbar, listview, mode-switcher ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ELEMENT
|
// ELEMENT
|
||||||
// -----------------------------------
|
// -----------------------------------
|
||||||
|
|
||||||
element {
|
element {
|
||||||
padding: 4 12;
|
padding: 8 14;
|
||||||
text-color: #${palette.base05};
|
text-color: #${palette.base05};
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element selected {
|
element selected {
|
||||||
text-color: #${palette.base01};
|
text-color: #${palette.base01};
|
||||||
background-color: #${palette.base0B};
|
background-color: #${palette.base0C};
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text {
|
element-text {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
size: 16 px;
|
size: 24 px;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
padding: 0 6 0 0;
|
padding: 0 6 0 0;
|
||||||
alignment: vertical;
|
alignment: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
listview {
|
listview {
|
||||||
columns: 2;
|
columns: 2;
|
||||||
lines: 9;
|
lines: 9;
|
||||||
padding: 8 0;
|
padding: 8 0;
|
||||||
fixed-height: true;
|
fixed-height: true;
|
||||||
fixed-columns: true;
|
fixed-columns: true;
|
||||||
fixed-lines: true;
|
fixed-lines: true;
|
||||||
border: 0 10 6 10;
|
border: 0 10 6 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
// INPUT BAR
|
// INPUT BAR
|
||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
entry {
|
entry {
|
||||||
text-color: #${palette.base05};
|
text-color: #${palette.base05};
|
||||||
padding: 10 10 0 0;
|
padding: 10 10 0 0;
|
||||||
margin: 0 -2 0 0;
|
margin: 0 -2 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inputbar {
|
inputbar {
|
||||||
background-image: url("~/.config/rofi/rofi.jpg", width);
|
background-image: url("~/.config/rofi/rofi.jpg", width);
|
||||||
padding: 180 0 0;
|
padding: 180 0 0;
|
||||||
margin: 0 0 0 0;
|
margin: 0 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt {
|
prompt {
|
||||||
text-color: #${palette.base0D};
|
text-color: #${palette.base0D};
|
||||||
padding: 10 6 0 10;
|
padding: 10 6 0 10;
|
||||||
margin: 0 -2 0 0;
|
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;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user