feat: Enhance terminal compatibility and add Arch Linux support

- Updated terminal.py to support Arch Linux alongside Debian-based systems.
- Implemented distro detection and user override for unsupported distributions.
- Added a status bar feature with customizable colors and live updates.
- Introduced JSON-based user preferences for status bar color.
- Replaced neofetch with fastfetch for system info display.
- Updated version to 0.1.2.a in version.txt.
- Created a new website with installation instructions, features, and community engagement.
- Added JavaScript for interactive elements and CSS for styling the website.
This commit is contained in:
2025-11-12 21:59:23 -05:00
parent 95d01c6897
commit 2e67031175
7 changed files with 1069 additions and 67 deletions

35
website/script.js Normal file
View File

@@ -0,0 +1,35 @@
document.addEventListener('DOMContentLoaded', () => {
const navToggle = document.querySelector('.nav__toggle');
const navLinks = document.querySelector('.nav__links');
const yearEl = document.getElementById('year');
if (yearEl) {
yearEl.textContent = new Date().getFullYear();
}
if (navToggle && navLinks) {
navToggle.addEventListener('click', () => {
navLinks.classList.toggle('is-open');
});
}
document.querySelectorAll('[data-copy]').forEach((button) => {
button.addEventListener('click', () => {
const target = document.querySelector(button.dataset.copy);
if (!target) {
return;
}
navigator.clipboard?.writeText(target.textContent.trim()).then(() => {
button.textContent = 'Copied!';
setTimeout(() => {
button.textContent = 'Copy Install Command';
}, 1800);
}).catch(() => {
button.textContent = 'Unable to copy';
setTimeout(() => {
button.textContent = 'Copy Install Command';
}, 1800);
});
});
});
});