blob: 0eff2489a7c86db7e746dc316007f82621e7f376 (
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
53
54
|
/*
* udt screenshot layout: two fullscreen buttons, whole screen or area.
* Copyright (C) 2026 Danilo M. <danix@danix.xyz>
* Licensed under the GNU General Public License v2 only.
*
* Each option takes half the monitor, so the choice is one glance and one
* click. Cells fill whatever monitor rofi opens on; the glyph size cannot be
* a percentage in rofi, so the script passes it with -theme-str, derived from
* the focused monitor's height. The font below is only the fallback.
*/
@import "common.rasi"
/* Translucent like the power menu, so it reads as a layer over the session. */
window {
fullscreen: true;
background-color: @scrim;
border: 0;
border-radius: 0;
padding: 6%;
}
/* rofi sizes a row by its text, not by the space left, so spacers above and
* below centre the row instead of leaving it pinned to the top edge. */
mainbox {
children: [ dummy, listview, dummy ];
}
dummy {
expand: true;
}
listview {
expand: false;
columns: 2;
lines: 1;
fixed-height: true;
fixed-columns: true;
flow: horizontal;
spacing: 4%;
}
element {
padding: 80px 0px;
border-radius: 24px;
background-color: @surface0;
}
element-text {
font: "Inconsolata Nerd Font Mono 160";
horizontal-align: 0.5;
vertical-align: 0.5;
text-color: inherit;
}
|