Skip to content

vids 0.2.1#9

Merged
odnar-dev merged 6 commits intomain-devfrom
dev
Aug 17, 2021
Merged

vids 0.2.1#9
odnar-dev merged 6 commits intomain-devfrom
dev

Conversation

@odnar-dev
Copy link
Member

@odnar-dev odnar-dev commented Aug 12, 2021

Add

  -P, --player      : change player from the command line
  -a, --player-args : set player arguments from the command line
  VIDS_DEFAULT_PLAYER_ARGS : set Default arguments which are passed to the player.
  -e, --exit        : don't prompt selector again after the player close
  VIDS_ONE_SHOT     : Alwayse don't prompt selector again after the player close

Changes

  • player command:

    from : printf '%s\n' ${video_url} | xargs $VIDS_PLAYER
    to   : ${VIDS_PLAYER:?} ${VIDS_PLAYER_ARGS:-} ${video_url}
    
  • fzf binds:

    ctrl-t: toggle-all selected videos
    cltl-c: copy selected videos to clipboard
    
  • better ui: (ideas? #10 (comment))

- add --player, --player-args, VIDS_PLAYER_ARGS
- rm xargs
- fzf : ctrl-t , cause ctrl-a used for beginning-of-line
add: --exit, VIDS_ONE_SHOT 
add: --ytr...  (cause i keep typing it)
rm basename
@odnar-dev odnar-dev merged commit 1f18618 into main-dev Aug 17, 2021
@odnar-dev odnar-dev deleted the dev branch August 17, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant