blob: 921e10446fec866c855f2ff5a6277b83c0eb7848 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* udt header: the wallpaper banner over the searchable layouts.
* Copyright (C) 2026 Danilo M. <danix@danix.xyz>
* Licensed under the GNU General Public License v2 only.
*
* A layout lists `header` in mainbox and sets window padding to 0, so the
* banner runs to the window's edges. The script's -p is the title, an icon
* glyph and a name, lifted out of the inputbar to sit above it.
*
* @WPAPER@ is rewritten by the installer, which is why this file is
* generated rather than linked. rofi does not expand `~` inside a url().
*/
header {
expand: false;
orientation: vertical;
children: [ headrow, inputbar ];
spacing: 12px;
padding: 2.5em 2em;
background-image: url("@WPAPER@", width);
background-color: @mantle;
}
/* The spacer keeps the title's plate to its own width. */
headrow {
expand: false;
orientation: horizontal;
children: [ prompt, dummy ];
}
dummy {
expand: true;
}
/* Both sit on plates so they stay legible over any wallpaper. */
prompt {
font: "Noto Sans Bold 15";
text-color: @text;
background-color: @base;
border-radius: 6px;
padding: 6px 12px;
}
inputbar {
background-color: @base;
border: 1px;
border-color: @accent;
}
entry {
placeholder: "Search";
}
|