2022-11-04 21:20:18 -07:00
|
|
|
// Some values in this configuration will be overriden by
|
|
|
|
// options when awesome runs rofi.
|
|
|
|
//
|
|
|
|
// See util.lua in this module.
|
|
|
|
|
|
|
|
* {
|
|
|
|
// Basic colors
|
|
|
|
transparent: #00000000;
|
|
|
|
background: #000000FF;
|
|
|
|
foreground: #F2F2F2EE;
|
|
|
|
|
|
|
|
// lightening transparency
|
|
|
|
overlay-white: #F2F2F211;
|
|
|
|
|
|
|
|
background-selected: #F2F2F245;
|
|
|
|
background-active: #F2F2F230;
|
|
|
|
urgent: #E91E6366;
|
|
|
|
urgent-selected: #E91E6377;
|
|
|
|
}
|
|
|
|
|
2021-08-01 07:24:26 -07:00
|
|
|
configuration {
|
2022-11-04 21:20:18 -07:00
|
|
|
font: "Astra Sans 25";
|
|
|
|
|
2021-08-01 07:24:26 -07:00
|
|
|
show-icons: true;
|
|
|
|
icon-theme: "Papirus";
|
|
|
|
drun-display-format: "{name}";
|
|
|
|
fullscreen: false;
|
|
|
|
matching: "fuzzy";
|
|
|
|
scroll-method: 1;
|
|
|
|
disable-history: false;
|
|
|
|
fullscreen: false;
|
|
|
|
window-thumbnail: true;
|
2022-11-04 21:20:18 -07:00
|
|
|
drun-match-fields: "exec, name";
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
window {
|
2022-11-04 21:20:18 -07:00
|
|
|
// Overridden by awesome
|
|
|
|
y-offset: -50px;
|
|
|
|
|
|
|
|
height: 50%;
|
|
|
|
width: 25%;
|
|
|
|
|
2021-08-01 07:24:26 -07:00
|
|
|
transparency: "real";
|
|
|
|
background-color: @background;
|
|
|
|
location: southwest;
|
|
|
|
anchor: southwest;
|
|
|
|
orientation: vertical;
|
2022-11-04 21:20:18 -07:00
|
|
|
border-radius: 0px;
|
|
|
|
x-offset: 0px;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
prompt {
|
|
|
|
enabled: false;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
2022-11-04 21:20:18 -07:00
|
|
|
font: "FantasqueSansMono Nerd Font 25";
|
|
|
|
|
2021-08-01 07:24:26 -07:00
|
|
|
action: "ok";
|
|
|
|
str: " ";
|
|
|
|
expand: false;
|
|
|
|
text-color: @foreground;
|
|
|
|
background-color: @transparent;
|
|
|
|
vertical-align: 0.7;
|
|
|
|
horizontal-align: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
entry {
|
2022-11-04 21:20:18 -07:00
|
|
|
// Overridden by awesome
|
|
|
|
font: "Astra Sans 25";
|
|
|
|
|
2021-08-01 07:24:26 -07:00
|
|
|
background-color: @transparent;
|
|
|
|
text-color: @foreground;
|
|
|
|
expand: true;
|
|
|
|
vertical-align: 0.5;
|
|
|
|
horizontal-align: 0.5;
|
|
|
|
placeholder: "Search";
|
|
|
|
placeholder-color: @foreground;
|
2022-11-04 21:20:18 -07:00
|
|
|
cursor: text;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
case-indicator {
|
|
|
|
background-color: @transparent;
|
|
|
|
text-color: @foreground;
|
|
|
|
vertical-align: 0.5;
|
|
|
|
horizontal-align: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
entry-wrapper {
|
|
|
|
orientation: horizontal;
|
|
|
|
vertical-align: 0.5;
|
|
|
|
background-color: @transparent;
|
|
|
|
children: [ button, entry, case-indicator ];
|
|
|
|
}
|
|
|
|
|
|
|
|
inputbar {
|
2022-11-04 21:20:18 -07:00
|
|
|
background-color: @overlay-white;
|
2021-08-01 07:24:26 -07:00
|
|
|
text-color: @foreground;
|
|
|
|
expand: false;
|
2022-11-04 21:20:18 -07:00
|
|
|
border-radius: 2mm;
|
2021-08-01 07:24:26 -07:00
|
|
|
margin: 0px 0px 0px 0px;
|
2022-11-04 21:20:18 -07:00
|
|
|
padding: 3mm 3mm 3mm 3mm;
|
2021-08-01 07:24:26 -07:00
|
|
|
position: north;
|
|
|
|
children: [ entry-wrapper ];
|
|
|
|
}
|
|
|
|
|
|
|
|
listview {
|
|
|
|
background-color: @transparent;
|
|
|
|
columns: 1;
|
2022-11-04 21:20:18 -07:00
|
|
|
spacing: 2mm;
|
2021-08-01 07:24:26 -07:00
|
|
|
cycle: false;
|
2022-11-04 21:20:18 -07:00
|
|
|
dynamic: false;
|
2021-08-01 07:24:26 -07:00
|
|
|
layout: vertical;
|
2022-11-04 21:20:18 -07:00
|
|
|
scrollbar: true;
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollbar {
|
|
|
|
background-color: @overlay-white;
|
|
|
|
handle-color: @foreground;
|
|
|
|
handle-width: 2mm;
|
|
|
|
width: 3px;
|
|
|
|
padding: 1mm;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mainbox {
|
2022-11-04 21:20:18 -07:00
|
|
|
background-color: @background;
|
|
|
|
children: [ listview, inputbar ];
|
|
|
|
spacing: 10mm;
|
|
|
|
padding: 15mm 15mm 15mm 15mm;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
element {
|
|
|
|
background-color: @transparent;
|
|
|
|
text-color: @foreground;
|
|
|
|
orientation: horizontal;
|
2022-11-04 21:20:18 -07:00
|
|
|
border-radius: 0mm;
|
|
|
|
padding: 2mm 2mm 2mm 2mm;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
element-icon {
|
2022-11-04 21:20:18 -07:00
|
|
|
size: 16mm;
|
|
|
|
border: 0mm;
|
|
|
|
background-color: @transparent;
|
|
|
|
text-color: inherit;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
element-text {
|
|
|
|
expand: true;
|
|
|
|
horizontal-align: 0;
|
|
|
|
vertical-align: 0.5;
|
2022-11-04 21:20:18 -07:00
|
|
|
margin: 2mm 2mm 2mm 2mm;
|
|
|
|
background-color: @transparent;
|
|
|
|
text-color: inherit;
|
2021-08-01 07:24:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
element normal.urgent,
|
|
|
|
element alternate.urgent {
|
|
|
|
background-color: @urgent;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element normal.active,
|
|
|
|
element alternate.active {
|
|
|
|
background-color: @background-active;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected {
|
|
|
|
background-color: @background-selected;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.urgent {
|
|
|
|
background-color: @urgent-selected;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.active {
|
|
|
|
background-color: @background-active;
|
|
|
|
color: @foreground-selected;
|
|
|
|
}
|