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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
/**
*
* Author : Aditya Shakya (adi1090x)
* Github : @adi1090x
*
* Rofi Theme File
* Rofi Version: 1.7.3
**/
/*****----- Configuration -----*****/
configuration {
modi: "drun,run,filebrowser,window";
show-icons: true;
display-drun: "";
display-run: "";
display-filebrowser: "";
display-window: "";
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
window-format: "{w} {c} {t}";
}
/*****----- Global Properties -----*****/
* {
font: "Iosevka Nerd Font 10";
}
/*****----- Main Window -----*****/
window {
/* properties for window widget */
transparency: "real";
location: center;
anchor: center;
fullscreen: false;
width: 800px;
x-offset: 0px;
y-offset: 0px;
/* properties for all widgets */
enabled: true;
margin: 0px;
padding: 0px;
border-radius: 20px;
cursor: "default";
background-color: #22272C;
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 25px;
padding: 50px;
background-color: transparent;
children: [ "inputbar", "message","listview", "mode-switcher" ];
}
/*****----- Inputbar -----*****/
inputbar {
enabled: true;
spacing: 0px;
margin: 0px 200px;
padding: 5px;
border: 1px;
border-radius: 100%;
border-color: gray/25%;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ];
}
textbox-prompt-colon {
enabled: true;
expand: false;
padding: 8px 11px;
border-radius: 100%;
background-color: white;
text-color: black;
str: "";
}
entry {
enabled: true;
padding: 8px 12px;
border: 0px;
background-color: transparent;
text-color: white;
cursor: text;
placeholder: "Search...";
placeholder-color: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 2;
lines: 10;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 10px;
background-color: transparent;
cursor: "default";
}
/*****----- Elements -----*****/
element {
enabled: true;
spacing: 10px;
margin: 0px;
padding: 5px;
border: 0px;
border-radius: 100%;
border-color: gray/15%;
background-color: transparent;
text-color: gray;
cursor: pointer;
}
element normal.active {
background-image: linear-gradient(to right, #4C4F52, #2E343B);
text-color: #19B466;
}
element selected.normal {
background-image: linear-gradient(to right, #4C4F52, #2E343B);
text-color: #FF9030;
}
element selected.active {
background-image: linear-gradient(to right, #4C4F52, #2E343B);
text-color: #EA5553;
}
element-icon {
background-color: transparent;
size: 24px;
cursor: inherit;
}
element-text {
background-color: inherit;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/*****----- Mode Switcher -----*****/
mode-switcher{
enabled: true;
expand: false;
spacing: 0px;
margin: 0px 200px;
padding: 12px;
border-radius: 100%;
background-color: #2E343B;
}
button {
background-color: inherit;
text-color: white;
cursor: pointer;
}
button selected {
background-color: inherit;
text-color: #FF9030;
}
/*****----- Message -----*****/
error-message {
padding: 20px;
background-color: #22272C;
text-color: white;
}
message {
padding: 0px;
background-color: inherit;
text-color: #FF9030;
}
textbox {
padding: 0px;
border-radius: 0px;
background-color: inherit;
text-color: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
|