aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/config.rasi##template
blob: c467dcdcc27aefa6ff377b349b1256106a7cbdcc (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
configuration {
	modi: "drun,run";
	font: "sans-serif 8";
	matching: "fuzzy";
	separator-style: "none";
	hide-scrollbar: true;

	drun-match-fields: "name,generic,categories,keywords";
	drun-display-format: "{name}";

	filebrowser {
		directory: "{{ env.HOME }}/docs";
	}

	kb-remove-to-eol: "Control+Shift+e";
	kb-accept-entry: "Control+m,Return,KP_Enter";
	kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab";
	kb-row-down: "Down,Control+j";
}

window {
	padding: 2px;
	background-color: ${background};
	text-color: ${foreground};
	width: 350px;
}

* {
	spacing: 0;
	line-padding: 0;
	line-margin: 0;
	background-color: inherit;
	text-color: inherit;
}

message {
	margin: 8px;
}

inputbar {
	children: [entry];
}

entry {
	padding: 10px;
	cursor-width: 1px;
}

listview {
	cycle: false;
	scrollbar: false;
	lines: 6;
	fixed-height: false;
	padding: 1px 0px;
}

element {
	margin: -1px 0px;
	padding: 6px 10px;
	background-color: transparent;
	text-color: ${foreground};
}

element selected {
	border-radius: 8px;
	background-color: ${accent};
	text-color: ${accent_text};
}