Skip to content

Commit

Permalink
fix: shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Euro20179 committed Nov 10, 2023
1 parent 42937fa commit 01603a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ytfzf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# versioning system:
# major.minor.bugs
YTFZF_VERSION="git-2068.e48958c"
YTFZF_VERSION="git-2069.42937fa"

#ENVIRONMENT VARIABLES {{{
: "${YTFZF_CONFIG_DIR:=${XDG_CONFIG_HOME:-$HOME/.config}/ytfzf}"
Expand Down Expand Up @@ -1360,7 +1360,7 @@ set_vars() {
action_meta_key="ctrl"

# shortcuts
download_shortcut="${action_meta_key}-d" video_shortcut="${action_meta_key}-v" audio_shortcut="${action_meta_key}-m" detach_shortcut="${action_meta_key}-e" print_link_shortcut="${action_meta_key}-l" show_formats_shortcut="${action_meta_key}-f" info_shortcut="${action_meta_key}-i" search_again_shortcut="${action_meta_key}-s"
download_shortcut="${selection_meta_key}-d" video_shortcut="${selection_meta_key}-v" audio_shortcut="${selection_meta_key}-m" detach_shortcut="${selection_meta_key}-e" print_link_shortcut="${selection_meta_key}-l" show_formats_shortcut="${selection_meta_key}-f" info_shortcut="${selection_meta_key}-i" search_again_shortcut="${selection_meta_key}-s"

next_page_action_shortcut="${action_meta_key}-p"

Expand Down Expand Up @@ -3431,7 +3431,7 @@ parse_opt() {
disable-submenus) enable_submenus="${optarg:-0}" ;;
disable-actions) enable_actions="$((${optarg:-1} ^ 1))" ;;
thumbnail-quality) thumbnail_quality="$optarg" ;;
u | url-handler) load_url_handler "$optarg" ;;
u | url-handler) load_url_handler "$optarg";;
keep-cache) keep_cache="${optarg:-1}" ;;
submenu-opts | submenu-scraping-opts) submenu_opts="${optarg}" ;;
keep-vars) keep_vars="${optarg:-1}" ;;
Expand Down

0 comments on commit 01603a3

Please sign in to comment.