Commit Graph

14 Commits

Author SHA1 Message Date
google-labs-jules[bot]
5621f74a4d feat: Add 'Open in Terminal' to Nautilus
Integrates the `nautilus-open-any-terminal` package into the `apps.sh` module. This adds a right-click context menu option in the Nautilus file manager to open a terminal in the current directory.

The change includes:
-   Adding `nautilus-open-any-terminal` to the list of AUR packages in `apps.sh`.
-   Adding a post-installation step to restart Nautilus (`nautilus -q`) to ensure the extension is loaded immediately.
2025-12-02 17:08:43 +00:00
google-labs-jules[bot]
4b30ecaffa Integrar TLP y añadir funciones de gestión de batería (#15)
* refactor(zsh): rename help function to zsh-help

This commit refactors the Zsh help function based on user feedback.

The following changes have been made:
- The function `zsh_ayuda` has been renamed to `zsh_help`.
- The alias `ayuda` has been updated to `zsh-help`.
- The help text within the function has been updated to reflect the new command name.

* feat(power): integrate tlp and add battery management functions

This commit introduces a complete battery management solution by integrating TLP into the setup scripts and providing convenient control functions in Zsh.

Key changes:
- Adds `eco-batt` and `full-batt` functions to `.zshrc` to allow the user to easily switch between battery-saving (80%) and full-charge (100%) modes.
- Modifies `modules/apps.sh` to automatically install the `tlp` package.
- Adds logic to `modules/apps.sh` to enable and start the `tlp.service` so that power management is active on boot.
- Updates the `zsh-help` function to include documentation for the new battery management commands.

---------

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>
2025-11-19 13:22:25 -06:00
google-labs-jules[bot]
49c148dc26 feat(apps): Añadir Drivers de Video para Intel (#13)
* 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.

* fix: improve GNOME Keyring socket detection

This commit fixes a bug in the `ssh-keyring.sh` module where the GNOME Keyring socket could not be found after a system reboot.

The script now explicitly determines the user's UID to construct the correct path to the socket, instead of relying on the potentially unreliable `$UID` environment variable. This makes the socket detection more robust, especially when the script is run with `sudo`.

* fix: improve GNOME Keyring socket detection

This commit fixes a bug in the `ssh-keyring.sh` module where the GNOME Keyring socket could not be found after a system reboot.

The script now uses the `logname` command to reliably determine the user's UID and construct the correct path to the socket, instead of relying on environment variables that can be unreliable when the script is run with `sudo`. This makes the socket detection more robust.

* feat: Añadir nuevas herramientas para desarrolladores

Se han añadido los siguientes paquetes al módulo `apps.sh`:
- python
- pip
- nodejs
- npm
- uv
- nvm (a través de una función de instalación)

Esto proporciona un entorno de desarrollo más completo desde el
principio.

* feat(apps): Añadir drivers de video adicionales para Intel

Para mejorar la compatibilidad y el rendimiento de la aceleración de video en hardware Intel Iris Xe, se han añadido los siguientes paquetes:

- `libva-intel-driver`: Driver legacy para mayor compatibilidad con aplicaciones más antiguas.
- `onevpl-intel-gpu`: Librería de la nueva generación oneVPL para el procesamiento de video moderno.

Esto asegura una cobertura de códecs más completa.

---------

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>
2025-11-19 11:39:13 -06:00
google-labs-jules[bot]
ae8e3c3c40 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>
2025-11-19 08:48:17 -06:00
google-labs-jules[bot]
eabfe0cbaf Refactor: Improve and Document All Modules and Readme.md (#3)
* docs: update and improve Readme.md in Spanish

Restore the comprehensive Spanish version of the `Readme.md` and add a new section with instructions for installing the Meslo font, which is required for the `oh-my-posh` theme to render correctly.

The new section is located in the "Troubleshooting" area and provides the necessary command (`oh-my-posh font install meslo`) to ensure a correct setup.

The rest of the document has been reviewed to ensure it is complete and accurately reflects the script's functionality.

* refactor: improve and document all modules and Readme.md

This is a major refactoring and documentation effort that touches every module in the project.

- **Exhaustive In-Code Documentation:** Every module script in the `modules/` directory has been updated with detailed comments. This includes header descriptions, explanations for each function, and justifications for complex logic. This greatly improves the maintainability and readability of the code.

- **Code Robustness and Optimization:** Several modules have been refactored to be more robust and efficient. This includes:
  - Optimizing package installations by grouping them into a single `pacman` command.
  - Improving dependency checks.
  - Standardizing the use of helper functions from `common.sh`.
  - Making network operations more resilient.

- **Comprehensive `Readme.md` Update:** The main `Readme.md` has been rewritten to be a complete and professional guide to the project. It now includes:
  - A clear and detailed description of each module.
  - Information on what each module installs and how it works.
  - Instructions for installing the required Nerd Font for `oh-my-posh`.
  - An updated structure that is easier to navigate.

---------

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>
2025-11-18 23:18:20 -06:00
Marco Gallegos
f0e9471acb refactor 2025-11-18 16:45:35 -06:00
Marco Gallegos
9ec39b548f feat: Add SSH keyring synchronization module for GNOME Keyring integration 2025-11-18 13:49:26 -06:00
Marco Gallegos
de2e8071ab feat: Enhance Zsh configuration and setup scripts with improved plugin management and GNOME Keyring integration 2025-11-18 13:15:06 -06:00
Marco Gallegos
bb0f7357c6 feat: Refactor AUR package installation and improve logging in setup scripts 2025-11-15 16:03:12 -06:00
Marco Gallegos
c359022f19 Add speedtest-cli to installation list and implement system update check
- Added speedtest-cli to the list of applications installed via pacman.
- Included a system update command to prevent dependency conflicts, with error handling for update failures.
2025-11-14 20:22:41 -06:00
Marco Gallegos
f2e3fde219 Refactor mouse cursor installation for cleaner setup and error handling; update file permissions for several scripts. 2025-11-14 20:19:47 -06:00
Marco Gallegos
c620db69c2 ajustes de optimizacion 2025-11-15 02:07:44 +00:00
Marco Gallegos
7baf40936c Ajuste de .bashrc, para que cargu zsh por default 2025-11-08 16:07:44 -06:00
Marco Gallegos
f36cc9e1ff Initial commit of Zsh setup files 2025-11-08 15:33:58 -06:00