blob: cf0592f8fa53171f07a6a2bcd81d7fdcdf0515e5 (
plain) (
blame)
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
|
/* --- Configuration for Rofi Power ---- */
/* ---- Configuration ---- */
configuration {
show-icons: false;
}
/* ---- Load pywal colors (custom wal template) ---- */
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
/* ---- Global Properties ---- */
* {
font: "Fira Code Medium 12";
}
/* ---- Main Window ---- */
window {
location: center;
anchor: center;
fullscreen: false;
width: 900px;
height: 400px;
x-offset: 0px;
y-offset: 0px;
padding: 0px;
border: 2px;
border-radius: 15px;
border-color: @active-background;
cursor: "default";
background-color: @background-color;
}
/* ---- Main Box ---- */
mainbox {
enabled: true;
spacing: 0px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", width);
border-color: @active-background;
background-color: @background-color;
children: [ "inputbar", "listview", "message" ];
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 20px;
background-color: transparent;
orientation: horizontal;
children: ["prompt"];
}
prompt {
enabled: true;
padding: 10px;
border-radius: 15px;
border-color: @foreground;
background-color: @background-color;
text-color: @foreground;
cursor: text;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 3;
lines: 2;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 40px;
padding: 4% 40px;
background-color: transparent;
cursor: "default";
border: 0px;
border-color: @active-background;
}
/* ---- Elements ---- */
element {
enabled: true;
padding: 20px;
border-radius: 30px;
background-color: transparent;
text-color: @foreground;
cursor: pointer;
}
element-text {
font: "Fira Code SemiBold 16";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @background;
}
/* ---- Message ---- */
message {
enabled: true;
margin: 0px;
background-color: transparent;
text-color: @foreground;
border: 0px;
}
textbox {
font: "Fira Code SemiBold 8";
background-color: @background;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
}
|