2023-07-05 19:21:50 +08:00
|
|
|
configuration {
|
2023-07-18 14:26:03 +08:00
|
|
|
modes: "drun";
|
|
|
|
icon-theme: "Nordzy-cyan-dark";
|
|
|
|
drun-match-fields: "name,keywords";
|
|
|
|
disable-history: true;
|
2023-07-05 19:21:50 +08:00
|
|
|
|
|
|
|
drun {
|
2023-07-11 15:29:36 +08:00
|
|
|
display-name: "";
|
2023-07-18 14:26:03 +08:00
|
|
|
fallback-icon: "application-x-addon";
|
2023-07-05 19:21:50 +08:00
|
|
|
}
|
|
|
|
|
2023-07-06 19:46:43 +08:00
|
|
|
drun-display-format: "{name}";
|
2023-07-05 19:21:50 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-07-06 19:46:43 +08:00
|
|
|
@theme "./colors.rasi"
|
|
|
|
|
|
|
|
|
|
|
|
window {
|
2023-07-18 14:26:03 +08:00
|
|
|
fullscreen: true;
|
2023-07-06 19:46:43 +08:00
|
|
|
transparency: "real";
|
2023-07-09 17:25:05 +08:00
|
|
|
border-radius: 4px;
|
2023-07-06 19:46:43 +08:00
|
|
|
background-color: @bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
mainbox {
|
|
|
|
padding: 24px;
|
|
|
|
children: [inputbar, listview];
|
|
|
|
}
|
|
|
|
|
|
|
|
inputbar {
|
|
|
|
background-color: @grey;
|
2023-07-18 14:26:03 +08:00
|
|
|
border-radius: 50%;
|
|
|
|
margin: 0 35% 12px;
|
|
|
|
padding: 0 8px;
|
2023-07-06 19:46:43 +08:00
|
|
|
children: [prompt, entry];
|
|
|
|
}
|
|
|
|
|
|
|
|
entry {
|
2023-07-18 14:26:03 +08:00
|
|
|
padding: 14px 4px;
|
|
|
|
margin: 0 32px 0 0;
|
|
|
|
font: "Menlo 16";
|
2023-07-06 19:46:43 +08:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
prompt {
|
2023-07-18 14:26:03 +08:00
|
|
|
padding: 4px 16px;
|
|
|
|
font: "'Material Icons' bold 24px";
|
2023-07-11 15:29:36 +08:00
|
|
|
vertical-align: 0.5;
|
2023-07-06 19:46:43 +08:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2023-07-18 14:26:03 +08:00
|
|
|
|
|
|
|
|
2023-07-06 19:46:43 +08:00
|
|
|
listview {
|
2023-07-18 14:26:03 +08:00
|
|
|
/* added in 1.7.4 */
|
|
|
|
flow: horizontal;
|
|
|
|
fixed-columns: true;
|
|
|
|
columns: 8;
|
|
|
|
margin: 3%;
|
2023-07-06 19:46:43 +08:00
|
|
|
cycle: false;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
element {
|
2023-07-18 14:26:03 +08:00
|
|
|
width: 300px;
|
2023-07-06 19:46:43 +08:00
|
|
|
padding: 0 12px;
|
2023-07-18 14:26:03 +08:00
|
|
|
margin: 12px;
|
|
|
|
orientation: vertical;
|
2023-07-06 19:46:43 +08:00
|
|
|
border-radius: 6px;
|
|
|
|
text-color: @blue;
|
|
|
|
background-color: transparent;
|
|
|
|
children: [element-icon, element-text];
|
|
|
|
}
|
|
|
|
|
|
|
|
element-icon {
|
2023-07-18 14:26:03 +08:00
|
|
|
size: 64;
|
2023-07-06 19:46:43 +08:00
|
|
|
padding: 12px 10px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
element-text {
|
|
|
|
padding: 12px 0;
|
2023-07-18 14:26:03 +08:00
|
|
|
horizontal-align: 0.5;
|
2023-07-06 19:46:43 +08:00
|
|
|
text-color: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected {
|
|
|
|
background-color: @greena;
|
|
|
|
}
|
|
|
|
element-text selected {
|
|
|
|
text-color: #ffffff;
|
2023-07-09 17:25:05 +08:00
|
|
|
}
|