-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.rasi
More file actions
154 lines (132 loc) · 2.92 KB
/
config.rasi
File metadata and controls
154 lines (132 loc) · 2.92 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/******************************************************************************
* OutTheme
* A Minimal Rofi Theme by Outer Frog
* Built for KDE Plasma 6 with Wayland (and probably works with other configurations)
* Requires Open Sans (Ubuntu/Debian: sudo apt install fonts-open-sans)
******************************************************************************/
configuration {
run,drun {
fallback-icon: "application-x-addon";
}
show-icons: true;
}
* {
/* Colors - Nord */
darkbg: #2e3440ed; // Nord0
lightbg: #434c5eed; // Nord2
tcolor: #d8dee9; // Nord4
/* Font */
font: "Open-Sans Regular 14";
}
window {
width: 30%;
/* Ideally anchor should be north,
but it doesn't work on Wayland as of rofi 2.0.0 */
location: center;
anchor: center;
/* General theming */
border-radius: 10px;
background-color: @darkbg;
text-color: @tcolor;
transparency: "screenshot";
/* Border */
border: 1px;
border-color: @lightbg;
}
entry {
placeholder: "";
text-color: @tcolor;
font: "Open-Sans Bold 20";
blink: true;
padding: 12 15px;
}
textbox-prompt-colon {
enabled: false;
}
prompt {
enabled: false;
}
message{
/* For errors */
content: "";
border: 0px;
text-color: red;
font: "Open-Sans Thin 12";
}
textbox {
text-color: inherit;
font:inherit;
}
listview {
spacing: 5px;
lines: 5;
fixed-height: false;
border: 0px;
/* Change these if you dislike the dynamic vertical scaling of the window */
dynamic: true;
require-input: true;
}
element {
border-radius: 5px;
children: [element-icon, element-text];
}
element.normal.normal {
background-color: transparent;
text-color: @tcolor;
}
element.normal.urgent {
background-color: transparent;
text-color: @tcolor;
}
element.normal.active {
background-color: transparent;
text-color: @tcolor;
}
element.selected.normal {
background-color: @lightbg;
text-color: @tcolor;
}
element.selected.urgent {
background-color: @lightbg;
text-color: @tcolor;
}
element.selected.active {
background-color: @lightbg;
text-color: @tcolor;
}
element.alternate.normal {
background-color: transparent;
text-color: @tcolor;
}
element.alternate.urgent {
background-color: transparent;
text-color: @tcolor;
}
element.alternate.active {
background-color: transparent;
text-color: @tcolor;
}
element-text {
text-color: inherit;
highlight: None;
vertical-align: 0.5;
}
element-icon {
enabled: true;
size: 40px;
padding: 10px 15px;
}
scrollbar {
handle-color: @lightbg;
}
inputbar {
children: [ entry,case-indicator, icon-search ];
}
/* Search icon on the right */
icon-search {
expand: false;
filename: "searchicon_b3.svg";
size: 30px;
padding: 12.5px 17.5px;
vertical-align: 0.5;
}