优化rofi windows样式
parent
915f946725
commit
ef098951df
|
@ -4,7 +4,7 @@
|
|||
padding: 0;
|
||||
spacing: 0;
|
||||
|
||||
bg: #39404f80;
|
||||
bg: #57606fae;
|
||||
fg: #f8f8f2;
|
||||
dark: #39404f;
|
||||
red: #bf616a;
|
||||
|
|
|
@ -1,16 +1,8 @@
|
|||
configuration {
|
||||
modes: "windowcd";
|
||||
icon-theme: "Nordzy-cyan-dark";
|
||||
|
||||
window {
|
||||
display-name: "";
|
||||
}
|
||||
|
||||
windowcd {
|
||||
display-name: "";
|
||||
}
|
||||
|
||||
window-format: "{c} - {t}";
|
||||
//window-thumbnail: true;
|
||||
window-format: "{c:20}\n<span size='small'>{t:25}</span>";
|
||||
}
|
||||
|
||||
@theme "./colors.rasi"
|
||||
|
@ -18,68 +10,49 @@ configuration {
|
|||
|
||||
window {
|
||||
transparency: "real";
|
||||
width: 720px;
|
||||
location: center;
|
||||
width: 1200px;
|
||||
border-radius: 4px;
|
||||
background-color: @bg;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding: 24px;
|
||||
children: [inputbar, listview];
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @grey;
|
||||
border-radius: 6px;
|
||||
margin: 12px 0;
|
||||
children: [prompt, entry];
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: transparent;
|
||||
padding: 16px 4px;
|
||||
font: "Menlo 16";
|
||||
vertical-align: 0.5;
|
||||
padding: 48px 24px;
|
||||
children: [ listview ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
padding: 16px;
|
||||
font: "'Material Icons' bold 24px";
|
||||
vertical-align: 0.5;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 8;
|
||||
scrollbar: true;
|
||||
flow: horizontal;
|
||||
fixed-columns: true;
|
||||
columns: 3;
|
||||
lines: 2;
|
||||
cycle: false;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
handle-width: 5px ;
|
||||
handle-color: @blue;
|
||||
background-color: @bg;
|
||||
}
|
||||
|
||||
|
||||
element {
|
||||
padding: 0 12px;
|
||||
margin: 0 12px 0 0;
|
||||
//orientation: vertical;
|
||||
padding: 32px 6px;
|
||||
margin: 12px 24px;
|
||||
border-radius: 6px;
|
||||
text-color: @blue;
|
||||
background-color: transparent;
|
||||
background-color: @grey;
|
||||
children: [element-icon, element-text];
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 48;
|
||||
padding: 12px 10px;
|
||||
size: 64;
|
||||
padding: 0 10px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element-text {
|
||||
padding: 12px 0;
|
||||
font: "Menlo 16";
|
||||
font: "Menlo 14";
|
||||
vertical-align: 0.5;
|
||||
text-color: inherit;
|
||||
background-color: transparent;
|
||||
|
|
Loading…
Reference in New Issue