From 5621f74a4d524c2cbb1add058c6a98256d32ed46 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 17:08:43 +0000 Subject: [PATCH] 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. --- modules/apps.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/apps.sh b/modules/apps.sh index aa28b7b..a1b59ea 100755 --- a/modules/apps.sh +++ b/modules/apps.sh @@ -193,6 +193,7 @@ run_module_main() { local AUR_PACKAGES=( "visual-studio-code-bin" "cursor-bin" "keyd" "fragments" "logiops" "ltunify" "teamviewer" "intel-compute-runtime" + "nautilus-open-any-terminal" ) # --- Instalación de Paquetes --- @@ -353,6 +354,15 @@ EOF fi log_success "Aplicaciones instaladas correctamente" + + log_info "Reiniciando Nautilus para aplicar los cambios..." + if command -v nautilus >/dev/null; then + nautilus -q + log_success "Nautilus reiniciado." + else + log_info "Nautilus no está instalado, se omite el reinicio." + fi + return 0 }