-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
music_session
executable file
·34 lines (29 loc) · 1.09 KB
/
music_session
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# abstract: start a music session in tmux
_pre() {
pickyfont set '-jmk-neep-medium-r-normal--11-100-75-75-c-60-iso8859-1' normal
pickyfont set '-jmk-neep-bold-r-normal--11-100-75-75-c-60-iso8859-1' bold
pickyfont set '-jmk-neep-medium-r-semicondensed--11-100-75-75-c-50-iso8859-1' italic
# setty foreground c1dae4
# setty background 202020
# setty wrap
}
_restore() {
pickyfont set '-windows-montecarlo-medium-r-normal--11-110-72-72-c-60-microsoft-cp1252' normal
pickyfont set '-windows-montecarlo-bold-r-normal--11-110-72-72-c-60-microsoft-cp1252' bold
pickyfont set '-nil-profont-medium-r-normal--10-100-72-72-c-50-iso8859-1' italic
# setty foreground e5e5e5
# setty background 121212
# setty wrap
}
_tmux_it() {
tmux -f $HOME/etc/tmux.conf \
new-session -d '/usr/bin/ncmpcpp' \; \
split-window -d -p 1 -l 20 'pimpd2 -sh; zsh' \; \
selectp -t 1 \; \
split-window -d -h 'zsh' \; \
attach
}
_pre && _tmux_it
_restore
# vim: set ft=sh tw=100: