aboutsummaryrefslogtreecommitdiffhomepage
path: root/mpd/ncmpcpp/tsession
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-11-07 11:32:27 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-07 11:32:27 +0800
commit71ca28742ac4f93ab2401eaee8e78471c023cd4b (patch)
treedd7c3921d249151dc3179f015153b9f9833d9d73 /mpd/ncmpcpp/tsession
parentc7ed81e664a592db8fc9a9a6e8f44843de8024a1 (diff)
Update
Diffstat (limited to 'mpd/ncmpcpp/tsession')
-rw-r--r--mpd/ncmpcpp/tsession32
1 files changed, 0 insertions, 32 deletions
diff --git a/mpd/ncmpcpp/tsession b/mpd/ncmpcpp/tsession
deleted file mode 100644
index e34d4b8..0000000
--- a/mpd/ncmpcpp/tsession
+++ /dev/null
@@ -1,32 +0,0 @@
1neww
2set -g status off
3
4#image pane; run cover script, disable text output and remove prompt
5send-keys "stty -echo" C-m
6send-keys "tput civis -- invisible" C-m
7send-keys "export PS1=''" C-m
8send-keys "clear" C-m
9send-keys "~/.ncmpcpp/cover.sh " C-m
10
11#catalog pane; run instance of ncmpcpp
12split-window -v
13select-pane -t 1
14send-keys "ncmpcpp --config='~/.ncmpcpp/catalog.conf'" C-m
15send-keys 1
16
17#visualizer pane; run instance of ncmpcpp in visualizer mode
18select-pane -t 0
19split-window -h
20send-keys "ncmpcpp --config='~/.ncmpcpp/visualizer.conf'" C-m
21send-keys 8
22send-keys u
23
24#resize image and visualizer pane to fit image
25resize-pane -t 0 -x 49 -y 23
26resize-pane -t 1 -y 23
27
28#hook for keeping the image pane size constant
29set-hook client-resized 'resize-pane -t 0 -x 49 -y 23'
30
31#focus on catalog pane
32select-pane -t 2 \ No newline at end of file