mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 13:25:16 +00:00
Feat: Improve Keyring UX and Icon Manager Flow (#7)
* feat: add dev tools, AI aliases, and improve zshrc documentation
This commit introduces several new features and improvements:
- **Adds Development Tools to `apps.sh`:** The `apps.sh` module now installs essential development tools, including `python`, `pip`, `nodejs`, `npm`, `uv`, and `nvm`.
- **Implements `.zshrc.local` for Private Variables:**
- A `.zshrc.local.example` file has been added to serve as a template for users to securely store their private environment variables, such as API keys.
- The main `.zshrc` file now sources `.zshrc.local` if it exists.
- **Adds AI Aliases to `.zshrc`:** A new section has been added to `.zshrc` with example aliases for interacting with command-line AI tools.
- **Improves `.zshrc` Documentation:** The `.zshrc` file has been thoroughly documented with comments in Spanish, explaining the purpose of each section. The title has also been updated and professionalized.
- **Fixes a Regression:** This commit restores the `ytm`, `ytv`, `ytls`, and SSH agent functions in `.zshrc` that were accidentally removed in a previous step.
* feat: improve keyring UX and icon manager flow
This commit introduces two main improvements to the user experience:
1. **Refactors the Icon Manager for Non-Interactive Installation:**
- The `icon_manager.sh` module can now be run in a non-interactive mode.
- The "Install All" process has been updated to use this non-interactive mode, which installs the default icon theme without pausing the script or requiring user input.
2. **Improves the GNOME Keyring Workflow:**
- The script no longer errors out if the GNOME Keyring agent is not immediately available after installation.
- Instead, a clear summary message is now displayed at the end of the "Install All" process, instructing the user to log out and back in, and then run the SSH key synchronization module separately. This provides a much smoother and more intuitive user experience.
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Marco Gallegos <marco.gallegos@outlook.com>
This commit is contained in:
committed by
GitHub
parent
e33719682e
commit
ae8e3c3c40
@@ -3,32 +3,20 @@ set -euo pipefail
|
||||
# ===============================================================
|
||||
# disk-format.sh - Soporte para FAT32 / exFAT / NTFS / ext4
|
||||
# ===============================================================
|
||||
#
|
||||
# Este módulo instala las herramientas necesarias para trabajar
|
||||
# con los sistemas de archivos más comunes, como FAT32, exFAT,
|
||||
# NTFS y ext4. Además de las utilidades de línea de comandos,
|
||||
# también instala herramientas gráficas como GParted y GNOME Disks
|
||||
# para facilitar la gestión de discos y particiones.
|
||||
#
|
||||
# ===============================================================
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "${SCRIPT_DIR}/common.sh"
|
||||
|
||||
run_module_main() {
|
||||
log_step "Habilitar soporte para sistemas de archivos"
|
||||
log_step "Habilitar sistemas de archivos (FAT32 / exFAT / NTFS / ext4)"
|
||||
|
||||
# --- Definición de Paquetes ---
|
||||
# Se instalarán las siguientes herramientas:
|
||||
# - dosfstools: Para crear y verificar sistemas de archivos FAT.
|
||||
# - exfatprogs: Para sistemas de archivos exFAT.
|
||||
# - ntfs-3g: Driver de código abierto para leer y escribir en NTFS.
|
||||
# - e2fsprogs: Utilidades para el sistema de archivos ext2/3/4.
|
||||
# - gparted: Editor de particiones gráfico.
|
||||
# - gnome-disk-utility: Herramienta de discos de GNOME.
|
||||
local pkgs=(
|
||||
dosfstools exfatprogs ntfs-3g e2fsprogs
|
||||
gparted gnome-disk-utility
|
||||
dosfstools
|
||||
exfatprogs
|
||||
ntfs-3g
|
||||
e2fsprogs
|
||||
gparted
|
||||
gnome-disk-utility
|
||||
)
|
||||
|
||||
local failed=false
|
||||
@@ -42,18 +30,18 @@ run_module_main() {
|
||||
log_warning "Algunos paquetes no se pudieron instalar. Revisa los mensajes anteriores."
|
||||
fi
|
||||
|
||||
log_success "Soporte para sistemas de archivos comunes habilitado."
|
||||
log_success "Soporte de sistemas de archivos habilitado."
|
||||
echo ""
|
||||
log_info "Para formatear discos desde la terminal, puedes usar:"
|
||||
log_info "Formatea manualmente con las utilidades instaladas:"
|
||||
echo " • FAT32 : sudo mkfs.fat -F32 /dev/sdXn"
|
||||
echo " • exFAT : sudo mkfs.exfat /dev/sdXn"
|
||||
echo " • NTFS : sudo mkfs.ntfs -f /dev/sdXn"
|
||||
echo " • ext4 : sudo mkfs.ext4 -F /dev/sdXn"
|
||||
log_info "También puedes usar 'gparted' o 'gnome-disks' para una gestión gráfica."
|
||||
log_info "Alternativamente puedes usar GParted o GNOME Disks para un asistente gráfico."
|
||||
return 0
|
||||
}
|
||||
|
||||
# Ejecutar si se llama directamente al script.
|
||||
# Ejecutar si se llama directamente
|
||||
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
||||
run_module_main "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user