aboutsummaryrefslogtreecommitdiffstats
path: root/rofi/udt/list.rasi
blob: 6812571d36f207daab3f9965ce1c3292358755ce (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
/*
 * udt list layout: a tall, searchable, single-column list.
 * For ssh hosts, passwords, emoji, VMs, repos, windows, clipboard.
 * Copyright (C) 2026 Danilo M. <danix@danix.xyz>
 * Licensed under the GNU General Public License v2 only.
 */

@import "common.rasi"

window {
    width:    680px;
    anchor:   center;
    location: center;
}

/* `message` must be listed, or a `-mesg` passed by a script is silently
 * dropped. rofi hides the widget when there is no message, so listing it
 * costs nothing when unused. rofipass relies on this for its keybinding
 * cheatsheet. */
mainbox {
    children: [ inputbar, message, listview ];
}

listview {
    columns: 1;
    lines:   12;
    fixed-height: false;
}