From f23f0bd7406060085a7fade7a04264fbf9119d3f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 27 Nov 2021 15:52:54 +0100 Subject: [PATCH] tmux: Add music session to defaults Opens a mopidy server (in the foreground), a commandline player (ncmpcpp), a sound mixer window, and bluetooth connectivity. --- qutebrowser/.config/qutebrowser/config.py | 2 +- tmux/.config/tmux/sessions/music.session | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tmux/.config/tmux/sessions/music.session diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 3776ece..359a28e 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -28,7 +28,7 @@ c.fileselect.handler = "external" picker = [ "alacritty", "--class", - "floating,floating", + "float", "-e", "vifm", "--choose-files", diff --git a/tmux/.config/tmux/sessions/music.session b/tmux/.config/tmux/sessions/music.session new file mode 100644 index 0000000..0ae173a --- /dev/null +++ b/tmux/.config/tmux/sessions/music.session @@ -0,0 +1,9 @@ +rename-window server +send-keys "mopidy" C-m +new-window -n player +send-keys "ncmpcpp" C-m +new-window -n mixer +send-keys "pulsemixer" C-m +new-window -n bluetooth +send-keys "bluetoothctl" C-m +select-window -t 2