Skip to content

Commit 0c7d8bf

Browse files
committed
changing rofi to rofi-wayland
1 parent e0cff61 commit 0c7d8bf

File tree

12 files changed

+693
-326
lines changed

12 files changed

+693
-326
lines changed

files/system/etc/rofi.rasi

Lines changed: 126 additions & 218 deletions
Original file line numberDiff line numberDiff line change
@@ -1,225 +1,133 @@
1-
* {
2-
primary: #b7c4ff;
3-
primary-fixed: #dce1ff;
4-
primary-fixed-dim: #b7c4ff;
5-
on-primary: #0f2976;
6-
on-primary-fixed: #001551;
7-
on-primary-fixed-variant: #2b418d;
8-
primary-container: #4257a4;
9-
on-primary-container: #ffffff;
10-
secondary: #bec5ea;
11-
secondary-fixed: #dce1ff;
12-
secondary-fixed-dim: #bec5ea;
13-
on-secondary: #282f4c;
14-
on-secondary-fixed: #121a36;
15-
on-secondary-fixed-variant: #3e4564;
16-
secondary-container: #3e4564;
17-
on-secondary-container: #c2c9ee;
18-
tertiary: #ffb867;
19-
tertiary-fixed: #ffddba;
20-
tertiary-fixed-dim: #ffb867;
21-
on-tertiary: #482900;
22-
on-tertiary-fixed: #2b1700;
23-
on-tertiary-fixed-variant: #673d00;
24-
tertiary-container: #845000;
25-
on-tertiary-container: #ffffff;
26-
error: #ffb4ab;
27-
on-error: #690005;
28-
error-container: #93000a;
29-
on-error-container: #ffdad6;
30-
surface: #121318;
31-
on-surface: #e3e1e9;
32-
on-surface-variant: #c5c5d3;
33-
outline: #8f909c;
34-
outline-variant: #444651;
35-
shadow: #000000;
36-
scrim: #000000;
37-
inverse-surface: #e3e1e9;
38-
inverse-on-surface: #2f3036;
39-
inverse-primary: #4559a7;
40-
surface-dim: #121318;
41-
surface-bright: #38393e;
42-
surface-container-lowest: #0d0e13;
43-
surface-container-low: #1a1b20;
44-
surface-container: #1f1f24;
45-
surface-container-high: #292a2f;
46-
surface-container-highest: #34343a;
47-
}
1+
/*Dracula theme based on the Purple official rofi theme*/
482

49-
/*****----- Configuration -----*****/
503
configuration {
51-
modi: "drun";
52-
show-icons: true;
53-
display-drun: "";
54-
drun-display-format: "{name}";
55-
}
56-
57-
/*****----- Global Properties -----*****/
58-
@import "colors.rasi"
59-
60-
*{
61-
bgcolor: #141b1e95;
62-
background: @background;
63-
background-alt: @surface-container;
64-
foreground: @primary;
65-
selected: @on-primary;
66-
active: @on-primary;
67-
urgent: @on-error;
68-
69-
font: "IBM Plex Sans Medium 11";
70-
}
71-
72-
/*****----- Main Window -----*****/
73-
window {
74-
transparency: "real";
75-
location: center;
76-
anchor: center;
77-
fullscreen: true;
78-
width: 1920px;
79-
height: 1080px;
80-
x-offset: 0px;
81-
y-offset: 0px;
82-
83-
enabled: true;
84-
margin: 0px;
85-
padding: 0px;
86-
border: 0px solid;
87-
border-radius: 0px;
88-
border-color: @selected;
89-
background-color: @bgcolor;
90-
cursor: "default";
91-
}
92-
93-
/*****----- Main Box -----*****/
94-
mainbox {
95-
enabled: true;
96-
spacing: 100px;
97-
margin: 0px;
98-
padding: 100px 225px;
99-
border: 0px solid;
100-
border-radius: 0px 0px 0px 0px;
101-
border-color: @selected;
102-
background-color: @bgcolor;
103-
children: [ "inputbar", "listview" ];
104-
}
105-
106-
/*****----- Inputbar -----*****/
107-
inputbar {
108-
enabled: true;
109-
spacing: 10px;
110-
margin: 0% 25%;
111-
padding: 10px;
112-
border: 1px solid;
113-
border-radius: 6px;
114-
border-color: white / 25%;
115-
background-color: white / 5%;
116-
text-color: @foreground;
117-
children: [ "prompt", "entry" ];
118-
}
119-
120-
prompt {
121-
enabled: true;
122-
background-color: transparent;
123-
padding: 0 10 0;
124-
text-color: inherit;
4+
show-icons: true;
5+
display-drun: "";
6+
disable-history: false;
1257
}
1268

127-
textbox-prompt-colon {
128-
enabled: true;
129-
expand: false;
130-
str: "::";
131-
background-color: transparent;
132-
text-color: inherit;
133-
}
134-
entry {
135-
enabled: true;
136-
background-color: transparent;
137-
text-color: inherit;
138-
cursor: text;
139-
placeholder: "Search";
140-
placeholder-color: inherit;
141-
}
142-
143-
/*****----- Listview -----*****/
144-
listview {
145-
enabled: true;
146-
columns: 7;
147-
lines: 4;
148-
cycle: true;
149-
dynamic: true;
150-
scrollbar: false;
151-
layout: vertical;
152-
reverse: false;
153-
fixed-height: true;
154-
fixed-columns: true;
155-
156-
spacing: 0px;
157-
margin: 0px;
158-
padding: 0px;
159-
border: 0px solid;
160-
border-radius: 0px;
161-
border-color: @selected;
162-
background-color: transparent;
163-
text-color: @foreground;
164-
cursor: "default";
165-
}
166-
scrollbar {
167-
handle-width: 5px ;
168-
handle-color: @selected;
169-
border-radius: 0px;
170-
background-color: @background-alt;
171-
}
172-
173-
/*****----- Elements -----*****/
174-
element {
175-
enabled: true;
176-
spacing: 15px;
177-
margin: 0px;
178-
padding: 35px 10px;
179-
border: 0px solid;
180-
border-radius: 15px;
181-
border-color: @selected;
182-
background-color: transparent;
183-
text-color: @foreground;
184-
orientation: vertical;
185-
cursor: pointer;
186-
}
187-
element normal.normal {
188-
background-color: transparent;
189-
text-color: @foreground;
190-
}
191-
element selected.normal {
192-
background-color: white / 5%;
193-
text-color: @foreground;
194-
}
195-
element-icon {
196-
background-color: transparent;
197-
text-color: inherit;
198-
size: 72px;
199-
cursor: inherit;
200-
}
201-
element-text {
202-
background-color: transparent;
203-
text-color: inherit;
204-
highlight: inherit;
205-
cursor: inherit;
206-
vertical-align: 0.5;
207-
horizontal-align: 0.5;
9+
* {
10+
font: "Jetbrains Mono 12";
11+
foreground: #f8f8f2;
12+
background-color: #282a36;
13+
active-background: #6272a4;
14+
urgent-background: #ff5555;
15+
urgent-foreground: #282a36;
16+
selected-background: @active-background;
17+
selected-urgent-background: @urgent-background;
18+
selected-active-background: @active-background;
19+
separatorcolor: @active-background;
20+
bordercolor: @active-background;
20821
}
20922

210-
/*****----- Message -----*****/
211-
error-message {
212-
padding: 100px;
213-
border: 0px solid;
214-
border-radius: 0px;
215-
border-color: @selected;
216-
background-color: black / 10%;
217-
text-color: @foreground;
218-
}
219-
textbox {
220-
background-color: transparent;
221-
text-color: @foreground;
222-
vertical-align: 0.5;
223-
horizontal-align: 0.0;
224-
highlight: none;
23+
#window {
24+
background-color: @background-color;
25+
border: 3;
26+
border-radius: 6;
27+
border-color: @bordercolor;
28+
padding: 15;
29+
}
30+
#mainbox {
31+
border: 0;
32+
padding: 0;
33+
}
34+
#message {
35+
border: 0px;
36+
border-color: @separatorcolor;
37+
padding: 1px;
38+
}
39+
#textbox {
40+
text-color: @foreground;
41+
}
42+
#listview {
43+
fixed-height: 0;
44+
border: 0px;
45+
border-color: @bordercolor;
46+
spacing: 2px ;
47+
scrollbar: false;
48+
padding: 2px 0px 0px ;
49+
}
50+
#element {
51+
border: 0;
52+
padding: 3px ;
53+
}
54+
#element.normal.normal {
55+
background-color: @background-color;
56+
text-color: @foreground;
57+
}
58+
#element.normal.urgent {
59+
background-color: @urgent-background;
60+
text-color: @urgent-foreground;
61+
}
62+
#element.normal.active {
63+
background-color: @active-background;
64+
text-color: @foreground;
65+
}
66+
#element.selected.normal {
67+
background-color: @selected-background;
68+
text-color: @foreground;
69+
}
70+
#element.selected.urgent {
71+
background-color: @selected-urgent-background;
72+
text-color: @foreground;
73+
}
74+
#element.selected.active {
75+
background-color: @selected-active-background;
76+
text-color: @foreground;
77+
}
78+
#element.alternate.normal {
79+
background-color: @background-color;
80+
text-color: @foreground;
81+
}
82+
#element.alternate.urgent {
83+
background-color: @urgent-background;
84+
text-color: @foreground;
85+
}
86+
#element.alternate.active {
87+
background-color: @active-background;
88+
text-color: @foreground;
89+
}
90+
#scrollbar {
91+
width: 2px ;
92+
border: 0;
93+
handle-width: 8px ;
94+
padding: 0;
95+
}
96+
#sidebar {
97+
border: 2px dash 0px 0px ;
98+
border-color: @separatorcolor;
99+
}
100+
#button.selected {
101+
background-color: @selected-background;
102+
text-color: @foreground;
103+
}
104+
#inputbar {
105+
spacing: 0;
106+
text-color: @foreground;
107+
padding: 1px ;
108+
}
109+
#case-indicator {
110+
spacing: 0;
111+
text-color: @foreground;
112+
}
113+
#entry {
114+
spacing: 0;
115+
text-color: @foreground;
116+
}
117+
#prompt {
118+
spacing: 0;
119+
text-color: @foreground;
120+
}
121+
#inputbar {
122+
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
123+
}
124+
#textbox-prompt-colon {
125+
expand: false;
126+
str: ">";
127+
margin: 0px 0.3em 0em 0em ;
128+
text-color: @foreground;
129+
}
130+
element-text, element-icon {
131+
background-color: inherit;
132+
text-color: inherit;
225133
}

0 commit comments

Comments
 (0)