Skip to content

Commit

Permalink
feat: bind to empty 'S' instead of overwriting existing tmux binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Malanius committed Jan 3, 2024
1 parent 2ea95ec commit 8cf4879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tmux-spotify.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

main() {
$(tmux bind-key -T prefix s run -b "source $CURRENT_DIR/scripts/spotify.sh && show_menu")
# TODO: ideally make this configurable, see https://github.com/xamut/tmux-spotify/pull/1
$(tmux bind-key -T prefix S run -b "source $CURRENT_DIR/scripts/spotify.sh && show_menu")
}

main

0 comments on commit 8cf4879

Please sign in to comment.