mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 13:25:16 +00:00
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.
This commit is contained in:
@@ -193,6 +193,7 @@ run_module_main() {
|
|||||||
local AUR_PACKAGES=(
|
local AUR_PACKAGES=(
|
||||||
"visual-studio-code-bin" "cursor-bin" "keyd" "fragments"
|
"visual-studio-code-bin" "cursor-bin" "keyd" "fragments"
|
||||||
"logiops" "ltunify" "teamviewer" "intel-compute-runtime"
|
"logiops" "ltunify" "teamviewer" "intel-compute-runtime"
|
||||||
|
"nautilus-open-any-terminal"
|
||||||
)
|
)
|
||||||
|
|
||||||
# --- Instalación de Paquetes ---
|
# --- Instalación de Paquetes ---
|
||||||
@@ -353,6 +354,15 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
log_success "Aplicaciones instaladas correctamente"
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user