diff --git a/index.html b/index.html index 804e5da..797aef2 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,7 @@ body { font-family:"Orbitron", sans-serif; background: var(--bg); color: var(--t .mac-btn { width:12px; height:12px; border-radius:50%; background:white; border:1px solid #000; } .content { padding:15px; font-size:13px; overflow:auto; } .mono { font-family:'Fira Code', 'Courier New', monospace; white-space:pre; text-shadow: 0 0 6px rgba(255,255,255,0.25); line-height:1.4; font-size:11px; letter-spacing: 0.3px; } +#neofetchTerminal { white-space: normal; } .link { cursor:pointer; margin-bottom:6px; } .link:hover { text-decoration:underline; } .glow-links .link { text-shadow: 0 0 8px rgba(255,255,255,0.45), 0 0 20px rgba(255,255,255,0.15); } @@ -283,30 +284,31 @@ document.querySelectorAll(".window").forEach(win=>{ } }); -// Neofetch Output +// Neofetch Output — innerHTML with Font Awesome icons const neofetchWin = document.getElementById("neofetchTerminal"); -const neofetchData = ` - ▄ - ▟█▙ - ▟███▙ oiupoyt@archlinux - ▟█████▙ - ▟███████▙  Arch Linux x86_64 - ▂▔▀▜██████▙  Linux 6.19.8-arch1-1 - ▟██▅▂▝▜█████▙  1254 (pacman), 60 (flatpak) - ▟█████████████▙  fish 4.5.0 - ▟███████████████▙  kitty 0.46.1 - ▟█████████████████▙  Hyprland 0.54.2 (Wayland) - ▟███████████████████▙  breeze - ▟█████████▛▀▀▜████████▙  NotoSansMono-Regular (11pt) - ▟████████▛ ▜███████▙  9 hours, 16 mins - ▟█████████ ████████▙  2026-4-10 - ▟██████████ █████▆▅▄▃▂ ♫ Baiaa081 - Noite Isolada (Playing) - ▟██████████▛ ▜█████████▙  Youtube (Mozilla zen) - ▟██████▀▀▀ ▀▀██████▙ - ▟███▀▘ ▝▀███▙ - ▟▛▀ ▀▜▙ -`; -neofetchWin.textContent = neofetchData; +const i = (cls) => ``; +neofetchWin.innerHTML = [ + ` ▄`, + ` ▟█▙`, + ` ▟███▙ oiupoyt@archlinux`, + ` ▟█████▙ ────────────────────────`, + ` ▟███████▙ ${i('fas fa-laptop')} OS Arch Linux x86_64`, + ` ▂▔▀▜██████▙ ${i('fas fa-microchip')} Kernel Linux 6.19.8-arch1-1`, + ` ▟██▅▂▝▜█████▙ ${i('fas fa-box-open')} Packages 1254 (pacman), 60 (flatpak)`, + ` ▟█████████████▙ ${i('fas fa-terminal')} Shell fish 4.5.0`, + ` ▟███████████████▙ ${i('fas fa-display')} Terminal kitty 0.46.1`, + ` ▟█████████████████▙ ${i('fas fa-window-restore')} WM Hyprland 0.54.2 (Wayland)`, + ` ▟███████████████████▙ ${i('fas fa-palette')} Theme breeze`, + ` ▟█████████▛▀▀▜████████▙ ${i('fas fa-font')} Font NotoSansMono-Regular (11pt)`, + ` ▟████████▛ ▜███████▙ ${i('fas fa-clock')} Uptime 9 hours, 16 mins`, + ` ▟█████████ ████████▙ ${i('fas fa-calendar-days')} Date 2026-4-10`, + ` ▟██████████ █████▆▅▄▃▂ ${i('fas fa-music')} Music Baiaa081 - Noite Isolada`, + ` ▟██████████▛ ▜█████████▙ ${i('fab fa-firefox-browser')} Browser Youtube (Mozilla zen)`, + ` ▟██████▀▀▀ ▀▀██████▙`, + ` ▟███▀▘ ▝▀███▙`, + ` ▟▛▀ ▀▜▙`, +].map(l => `
${l}
`).join(''); + // Music player const bgMusic = document.getElementById('bgMusic');