-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-launcher.rasi
79 lines (68 loc) · 1.84 KB
/
app-launcher.rasi
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
72
73
74
75
76
77
78
79
/* App launcher, window switcher, file browser */
configuration {
font: "JetBrainsMono Nerd Font 8";
display-drun: " ";
drun-display-format: "{name}";
}
@theme "~/.config/rofi/theme.rasi"
/* Window */
window {
width: 250px;
border: 2px;
border-radius: 10px;
border-color: @main-br;
background-color: @main-bg;
children: [ mainbox ];
}
mainbox {
spacing: 0;
background-color: inherit;
text-color: @main-fg;
children: [ inputbar, listview ];
}
/* Input */
inputbar {
margin: 8px 8px 0 8px;
border-radius: 6px;
spacing: inherit;
background-color: @input-bg;
text-color: inherit;
children: [ prompt, entry ];
}
prompt {
padding: 6px 10px;
background-color: inherit;
text-color: inherit;
}
entry {
placeholder: "Search";
padding: 6px 0;
cursor: text;
background-color: inherit;
text-color: inherit;
}
/* List */
listview {
lines: 6;
cycle: false;
padding: 8px;
background-color: inherit;
}
element {
padding: 6px;
cursor: pointer;
background-color: inherit;
text-color: @main-fg;
}
element selected active,
element selected normal {
border-radius: 6px;
background-color: @select-bg;
text-color: @select-fg;
}
element-text {
padding: 0 6px;
cursor: inherit;
background-color: inherit;
text-color: inherit;
}