aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/config.rasi##template
blob: 1aae2ea81bade93f64cf087321062968aac0aeaf (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
70
71
configuration {
	modi: "drun,run";
{% if yadm.hostname == "thoncc" %}
	font: "JetBrainsMono Nerd Font 7.5";
{% else %}
	font: "JetBrainsMono Nerd Font 9";
{% endif %}
	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: ${background};
	text-color: ${foreground};
	spacing: 0;
	line-padding: 0;
	line-margin: 0;
{% if yadm.hostname == "thoncc" %}
	width: 340;
	--padding: 6px;
{% else %}
	width: 450;
	--padding: 8px;
{% endif %}
}

inputbar {
	children: [prompt, entry];
}

prompt {
	padding: @--padding;
}

textbox {
	padding: @--padding;
}

entry {
	padding: @--padding;
}

listview {
	cycle: false;
	margin: 0 0 -1px 0;
	scrollbar: false;
	lines: 6;
}

element {
	padding: @--padding;
}

element selected {
	background-color: ${accent};
	text-color: ${accent_text};
}

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

prompt {
	enabled: false;
}