From ec373cca589a881e5d8ba737741380e5298e6a70 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 11 Mar 2020 10:14:23 +0100 Subject: [PATCH] Add ncmpcpp binding to detach from tmux session --- dotfiles/music.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dotfiles/music.org b/dotfiles/music.org index ea0e01a..3a1f687 100644 --- a/dotfiles/music.org +++ b/dotfiles/music.org @@ -68,6 +68,10 @@ Notification of song change. :END: #+begin_src conf + def_key "q" + run_external_command "if [ $TMUX ]; then tmux detach; fi" + def_key "Q" + quit def_key "g" move_home def_key "G" @@ -131,7 +135,7 @@ http://beets.io/ [spotify] username = dehaeze.thomas@gmail.com password = <> - client_id = 3b740ab1-f26f-4c38-aee0-4dcb9e58b375 + client_id = 9dd02534-f038-46d8-946e-bfe72498204e client_secret = <> bitrate = 320