-
Notifications
You must be signed in to change notification settings - Fork 0
/
dan-guide.sh
38 lines (26 loc) · 997 Bytes
/
dan-guide.sh
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
35
36
37
#!/bin/bash
setfont /usr/share/kbd/consolefonts/cyr-sun16.psfu.gz
tmux new-session -d
tmux set -g status-style bg=red,fg=black
tmux set -g pane-border-style bg=yellow,fg=yellow
tmux set -g pane-active-border-style bg=yellow,fg=yellow
tmux set -g status off
tmux set -g window-style bg=red,fg=black
tmux set -g window-active-style bg=yellow,fg=black
tmux bind -n C-j select-pane -t:.+
tmux bind -n C-n select-pane -t:.+
tmux bind -n C-f select-pane -t:.+
tmux bind -n C-t select-pane -t:.+
tmux bind -n C-k send-keys -X scroll-down
tmux bind -n C-e send-keys -X scroll-down
tmux bind -n C-l send-keys -X scroll-up
tmux bind -n C-i send-keys -X scroll-up
tmux rename-window 'Dan-Guide'
tmux send-keys "alias cfdisk=\"cfdisk && clear\" && clear" enter
tmux split-window -h
command="cd $(dirname "$0")"
tmux send-keys "${command}; sudo sh .guide.sh" enter
# tmux select-pane -t:.0 -P 'bg=yellow fg=black'
# tmux select-pane -t:.2 -P 'bg=yellow fg=black'
tmux select-pane -t:.1
tmux attach