#!/usr/bin/env bash # install_keyboard_shortcut=O # Source the script 'common-functions.sh'. SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) ROOT_DIR=$(grep --only-matching "^.*scripts[^/]*" <<<"$SCRIPT_DIR") source "$ROOT_DIR/common-functions.sh" _main() { local input_files="" # Execute initial checks. _check_dependencies "command=xdg-open; package=xdg-utils" input_files=$(_get_files "par_type=all; par_max_items=20; par_get_pwd=true") # Run the main process. _open_items_locations "$input_files" } _main "$@"