-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgrub.html
More file actions
439 lines (397 loc) · 14.2 KB
/
grub.html
File metadata and controls
439 lines (397 loc) · 14.2 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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="GRUB themes for Void Linux">
<title>"GRUB Themes - Void Linux Artwork"</title>
<link rel="stylesheet" href="css/style.css">
<style>
.theme-card {
background: var(--bg-color);
border-radius: 10px;
padding: 20px;
box-shadow: var(--shadow);
transition: var(--transition);
border: 1px solid var(--border-color);
display: flex;
flex-direction: column;
}
[data-theme="dark"] .theme-card {
background: var(--bg-light);
border-color: #87ff8755;
}
.theme-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .theme-card:hover {
box-shadow: 0 0 30px rgba(135, 255, 135, 0.3);
}
.theme-preview {
width: 100%;
aspect-ratio: 16 / 9;
background-color: var(--bg-light);
border-radius: 8px;
margin-bottom: 15px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border-color);
}
[data-theme="dark"] .theme-preview {
background-color: #000;
border-color: #87ff8755;
}
.theme-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.theme-info {
flex: 1;
}
.theme-name {
font-size: 1.3rem;
font-weight: 700;
color: var(--text-color);
margin-bottom: 10px;
}
.theme-description {
color: var(--text-light);
margin-bottom: 15px;
font-size: 0.9rem;
}
.theme-meta {
display: flex;
gap: 15px;
margin-bottom: 15px;
font-size: 0.85rem;
color: var(--text-light);
flex-wrap: wrap;
}
.theme-meta span {
display: flex;
align-items: center;
gap: 5px;
}
.theme-actions {
display: flex;
gap: 10px;
margin-top: auto;
}
.btn-download {
flex: 1;
background-color: var(--primary-color);
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: var(--transition);
text-align: center;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn-download:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
}
[data-theme="dark"] .btn-download {
background-color: var(--color3);
color: #000;
}
[data-theme="dark"] .btn-download:hover {
background-color: var(--color1);
}
.btn-preview {
padding: 10px 20px;
background-color: var(--bg-light);
border: 1px solid var(--border-color);
border-radius: 5px;
cursor: pointer;
transition: var(--transition);
color: var(--text-color);
}
.btn-preview:hover {
background-color: var(--border-color);
}
[data-theme="dark"] .btn-preview {
background-color: #000;
border-color: #87ff8755;
}
[data-theme="dark"] .btn-preview:hover {
background-color: #111;
}
.themes-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 25px;
margin-top: 30px;
}
@media (max-width: 768px) {
.themes-grid {
grid-template-columns: 1fr;
}
}
.install-instructions {
background-color: var(--bg-light);
padding: 30px;
border-radius: 10px;
margin-top: 40px;
border: 1px solid var(--border-color);
}
[data-theme="dark"] .install-instructions {
background-color: var(--bg-light);
border-color: #87ff8755;
}
.install-instructions h3 {
color: var(--primary-color);
margin-bottom: 15px;
}
[data-theme="dark"] .install-instructions h3 {
color: var(--color3);
}
.install-instructions code {
background-color: var(--bg-color);
padding: 2px 6px;
border-radius: 3px;
font-family: monospace;
color: var(--text-color);
}
[data-theme="dark"] .install-instructions code {
background-color: #000;
color: var(--color5);
}
.install-instructions pre {
background-color: var(--bg-color);
padding: 15px;
border-radius: 5px;
overflow-x: auto;
margin: 15px 0;
border: 1px solid var(--border-color);
}
[data-theme="dark"] .install-instructions pre {
background-color: #000;
border-color: #87ff8755;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar">
<div class="nav-container">
<div class="nav-brand">
<h1>Void Artwork</h1>
</div>
<button class="nav-toggle" aria-label="Toggle navigation">
<span></span>
<span></span>
<span></span>
</button>
<ul class="nav-menu">
<li><a href="https://osowoso.org">oSoWoSo</a></li>
<li><a href="index.html">Home</a></li>
<li><a href="hires.html">Hi-Res Wallpapers</a></li>
<li><a href="lowres.html">Low-Res Wallpapers</a></li>
<li><a href="logos.html">Logos</a></li>
<li><a href="grub.html" class="active">Grub Themes</a></li>
<li>
<button class="theme-toggle" aria-label="Toggle theme">
<span class="icon light-icon active">☀️</span>
<span class="icon dark-icon">🌙</span>
</button>
</li>
</ul>
</div>
</nav>
<!-- Page Header -->
<header class="page-header">
<div class="logo-container">
<img src="assets/logos/001.png" alt="Void Logo" class="logo">
</div>
<div class="container">
<h2>GRUB Boot Themes</h2>
<p>Custom boot themes for the GRUB bootloader</p>
<div class="gallery-count">
<span class="count-badge">7 themes</span>
</div>
</div>
</header>
<!-- Themes Grid -->
<main class="container">
<div class="themes-grid" id="themes-grid">
<!-- Themes will be loaded here by JavaScript -->
</div>
<!-- Installation Instructions -->
<div class="install-instructions">
<h3>📦 Installation Instructions</h3>
<p>To install a GRUB theme on Void Linux:</p>
<ol style="margin-left: 20px; line-height: 1.8; color: var(--text-color);">
<li>Download the theme ZIP file and extract it</li>
<li>Copy the theme folder to <code>/boot/grub/themes/</code>:
<pre>sudo mkdir -p /boot/grub/themes
sudo cp -r theme-folder-name /boot/grub/themes/</pre>
</li>
<li>Edit <code>/etc/default/grub</code> and add:
<pre>GRUB_THEME="/boot/grub/themes/theme-folder-name/theme.txt"</pre>
</li>
<li>Update GRUB configuration:
<pre>sudo grub-mkconfig -o /boot/grub/grub.cfg</pre>
</li>
<li>Reboot to see your new theme!</li>
</ol>
<p style="margin-top: 15px;"><strong>Note:</strong> Make sure the theme folder contains a <code>theme.txt</code> file.</p>
</div>
</main>
<!-- Giscus -->
<script src="https://giscus.app/client.js"
data-repo="osowoso/void-artwork"
data-repo-id="R_kgDOGLPAbA"
data-category="General"
data-category-id="DIC_kwDOGLPAbM4CAHM_"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="noborder_dark"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
<!-- Footer -->
<footer class="footer">
<div class="container">
<p>© 2024 Void Linux Artwork Collection | Licensed under <a href="https://github.com/oSoWoSo/void-artwork/blob/main/LICENSE" target="_blank">CC-BY-4.0</a></p>
</div>
</footer>
<script src="js/main.js"></script>
<script>
// GRUB themes configuration
const grubThemes = [
{
name: 'void3',
title: 'Void Dark',
description: 'Dark Void LinuxGRUB theme',
preview: 'assets/grub/themes/void3/background.png',
folder: 'assets/grub/themes/void3',
files: '18 + 87 icon'
},
{
name: 'void-linux',
title: 'Void Dark Logo',
description: 'Dark Void Linux brandingGRUB theme',
preview: 'assets/grub/themes/void-linux/background.png',
folder: 'assets/grub/themes/void-linux',
files: '18 + 87 icon'
},
{
name: 'void2',
title: 'Void Dark Logos',
description: 'Dark Void LinuxGRUB theme with logos',
preview: 'assets/grub/themes/void2/background.png',
folder: 'assets/grub/themes/void2',
files: '18 + 87 icon'
},
{
name: 'void6',
title: 'Void Light',
description: 'Light Void LinuxGRUB theme',
preview: 'assets/grub/themes/void6/background.png',
folder: 'assets/grub/themes/void6',
files: '18 + 87 icon'
},
{
name: 'void',
title: 'Void Light Logos',
description: 'Light Void LinuxGRUB theme with logos',
preview: 'assets/grub/themes/void/background.png',
folder: 'assets/grub/themes/void',
files: '18 + 87 icon'
},
{
name: 'void4',
title: 'Void Green',
description: 'Green Void Linux brandingGRUB theme',
preview: 'assets/grub/themes/void4/background.png',
folder: 'assets/grub/themes/void4',
files: '18 + 87 icon'
},
{
name: 'void5',
title: 'Void Green Penguin',
description: 'Green VoidGRUB theme with penguin',
preview: 'assets/grub/themes/void5/background.png',
folder: 'assets/grub/themes/void5',
files: '18 + 87 icon'
}
];
// Generate theme cards
function loadThemes() {
const grid = document.getElementById('themes-grid');
grubThemes.forEach(theme => {
const card = document.createElement('div');
card.className = 'theme-card';
card.innerHTML = `
<div class="theme-preview">
<img src="${theme.preview}" alt="${theme.title}" onerror="this.style.display='none'; this.parentElement.innerHTML='<span style=\\'color: var(--text-light);\\'>Preview not available</span>'">
</div>
<div class="theme-info">
<h3 class="theme-name">${theme.title}</h3>
<p class="theme-description">${theme.description}</p>
<div class="theme-meta">
<span>📁 ${theme.files} files</span>
<span>📦 ${theme.name}</span>
</div>
<div class="theme-actions">
<a href="https://GitFolderDownloader.github.io/?url=https://github.com/oSoWoSo/void-artwork/tree/main/${theme.folder}&return=https://osowoso.org/grub.html"
class="btn-download"
target="_blank">
⬇️ Download ZIP
</a>
<button class="btn-preview" onclick="previewTheme('${theme.preview}')">
👁️ Preview
</button>
</div>
</div>
`;
grid.appendChild(card);
});
}
// Preview theme
function previewTheme(imagePath) {
const img = new Image();
img.src = imagePath;
img.style.maxWidth = '90vw';
img.style.maxHeight = '90vh';
img.style.borderRadius = '10px';
const overlay = document.createElement('div');
overlay.style.cssText = `
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.95);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
cursor: pointer;
`;
overlay.appendChild(img);
overlay.onclick = () => overlay.remove();
document.body.appendChild(overlay);
}
// Load themes on page load
document.addEventListener('DOMContentLoaded', loadThemes);
</script>
</body>
</html>