Skip to content

Commit

Permalink
- Rebind play as audio to CTRL+B. (#70 (comment))
Browse files Browse the repository at this point in the history
Let's say that "B" stands for background. :)
  • Loading branch information
trizen committed Aug 12, 2024
1 parent cb41e51 commit 767c789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/gtk-pipe-viewer
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ set_text(
CTRL+R : show related videos for a selected video
CTRL+M : show videos from the author of a selected video
CTRL+K : show playlists from the author of a selected video
CTRL+N : play the selected entry as audio-only
CTRL+B : play the selected entry as audio-only
CTRL+S : add the author of a selected video to the user-list
CTRL+Q : close the application
Expand Down Expand Up @@ -1773,7 +1773,7 @@ HELP_TEXT
$accel->connect(ord('r'), ['control-mask'], ['visible'], \&show_related_videos);
$accel->connect(ord('m'), ['control-mask'], ['visible'], \&show_videos_from_selected_author);
$accel->connect(ord('k'), ['control-mask'], ['visible'], \&show_playlists_from_selected_author);
$accel->connect(ord('n'), ['control-mask'], ['visible'], sub { play_with_cli_pipe_viewer(audio_only => 1) });
$accel->connect(ord('b'), ['control-mask'], ['visible'], sub { play_with_cli_pipe_viewer(audio_only => 1) });

# 'DEL' key
$accel->connect(0xffff, ['lock-mask'], ['visible'], \&remove_selected_row);
Expand Down

0 comments on commit 767c789

Please sign in to comment.