aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/config.rasi##template
blob: bbbb646a1c9545fb184ec1d239ffe8d797a753d5 (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
configuration {
	modi: "drun,run";
	font: "JetBrainsMono Nerd Font 9";
	matching: "fuzzy";
	separator-style: "none";
	hide-scrollbar: true;
	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";
}

* {
	background-color: ${ROFIBGCOLOR};
	text-color: ${ROFIFGCOLOR};
	spacing: 0;
{% if yadm.hostname == "thoncc" %}
	width: 400;
{% else %}
	width: 450;
{% endif %}
	line-padding: 0;
	line-margin: 0;
	--padding: 8px;
}

inputbar {
	children: [prompt, entry];
}

prompt {
	padding: @--padding;
}

textbox {
	padding: @--padding;
}

entry {
	padding: @--padding;
}

listview {
	cycle: false;
	margin: 0 0 -1px 0;
	scrollbar: false;
{% if yadm.hostname == "thoncc" %}
	lines: 5;
{% else %}
	lines: 6;
{% endif %}
}

element {
	padding: @--padding;
}

element selected {
	background-color: ${ROFIACCOLOR};
	text-color: @background-color;
}

element-text {
	background-color: inherit;
	text-color: inherit;
}