tmux: add bootstrap scripts for tmuxsh
(ignored by all but desktop)
This commit is contained in:
parent
8f6d9d6b47
commit
6dbcdcccbb
@ -1 +1,5 @@
|
||||
README.md
|
||||
|
||||
{{- if ne .chezmoi.hostname "arch" }}
|
||||
dot_config/tmux/bootstrap
|
||||
{{- end }}
|
||||
|
1
dot_config/tmux/bootstraps/default.sh
Normal file
1
dot_config/tmux/bootstraps/default.sh
Normal file
@ -0,0 +1 @@
|
||||
tmux neww -n main
|
16
dot_config/tmux/bootstraps/executable_blog.sh
Normal file
16
dot_config/tmux/bootstraps/executable_blog.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Create new window
|
||||
tmux neww -n blog
|
||||
|
||||
# Prepare panes & resize
|
||||
|
||||
tmux split-window -h
|
||||
tmux resize-pane -t 0 -x 50
|
||||
|
||||
tmux send-keys -t 0 'cd ~/dev/_blog' C-m
|
||||
tmux send-keys -t 0 'pkill zola; zola serve --interface 10.0.2.1 --base-url 10.0.2.1 --drafts' C-m
|
||||
|
||||
tmux send-keys -t 1 'cd ~/dev/_blog' C-m
|
||||
tmux send-keys -t 1 'nvim' C-m
|
||||
|
||||
tmux select-pane -t 1
|
16
dot_config/tmux/bootstraps/executable_tessoku.sh
Normal file
16
dot_config/tmux/bootstraps/executable_tessoku.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Create new window
|
||||
tmux neww -n tessoku
|
||||
|
||||
# Prepare panes & resize
|
||||
|
||||
tmux split-window -h
|
||||
tmux resize-pane -t 0 -x 120
|
||||
|
||||
tmux send-keys -t 0 'cd ~/dev/atcoder' C-m
|
||||
tmux send-keys -t 0 './oj-wrapper.py' C-m
|
||||
|
||||
tmux send-keys -t 1 'cd ~/dev/atcoder/contests/tessoku-book' C-m
|
||||
tmux send-keys -t 1 'nvim' C-m
|
||||
|
||||
tmux select-pane -t 1
|
6
dot_config/tmux/bootstraps/executable_wiki.sh
Normal file
6
dot_config/tmux/bootstraps/executable_wiki.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Create new window
|
||||
tmux neww -n wiki
|
||||
|
||||
tmux send-keys -t 0 'cd ~/vc/wiki' C-m
|
||||
tmux send-keys -t 0 "nvim -c 'Goyo 150 | WikiIndex'" C-m
|
52
dot_config/tmux/bootstraps/music.sh
Normal file
52
dot_config/tmux/bootstraps/music.sh
Normal file
@ -0,0 +1,52 @@
|
||||
#!/bin/sh
|
||||
# # BACKUP
|
||||
# # Create new window
|
||||
# neww -n ncmpcpp;
|
||||
#
|
||||
# # Prepare panes & resize
|
||||
# split-window -v;
|
||||
# select-pane -t 0;
|
||||
# split-window -h;
|
||||
# split-window -h;
|
||||
# resize-pane -t 0 -x 39 -y 17;
|
||||
# resize-pane -t 1 -x 139 -y 17;
|
||||
# resize-pane -t 2 -x 139 -y 17;
|
||||
#
|
||||
# # Execute commands
|
||||
# send-keys -t 0 '~/.config/ncmpcpp/cover.sh' C-m;
|
||||
# send-keys -t 1 'cava -p ~/.config/cava/hdmi.conf' C-m;
|
||||
# send-keys -t 2 'cava -p ~/.config/cava/g433.conf' C-m;
|
||||
# send-keys -t 3 'ncmpcpp' C-m;
|
||||
#
|
||||
# select-pane -t 3
|
||||
#
|
||||
# # Create new window for spotify-tui
|
||||
# neww -n spt;
|
||||
# send-keys 'spt' C-m;
|
||||
# select-window -t ncmpcpp;
|
||||
|
||||
##########################################################################
|
||||
|
||||
# +---------------------------------+
|
||||
# | pulsemixer |
|
||||
# +---------------------------------+
|
||||
# | |
|
||||
# | spotify-tui |
|
||||
# | |
|
||||
# +---------------------------------+
|
||||
|
||||
# Create new window
|
||||
tmux neww -n music
|
||||
|
||||
# Prepare panes & resize
|
||||
tmux split-window -v
|
||||
tmux resize-pane -t 0 -y 10
|
||||
# tmux split-window -h
|
||||
|
||||
# send-keys -t 0 'cava -p ~/.config/cava/g433.conf' C-m;
|
||||
# send-keys -t 0 'cava' C-m;
|
||||
|
||||
tmux send-keys -t 0 'pulsemixer' C-m
|
||||
tmux send-keys -t 1 'pkill spotifyd; spotifyd; spt' C-m
|
||||
|
||||
tmux select-pane -t 2
|
3
dot_config/tmux/bootstraps/tmp.sh
Normal file
3
dot_config/tmux/bootstraps/tmp.sh
Normal file
@ -0,0 +1,3 @@
|
||||
tmux neww -n tmp
|
||||
tmux send-keys -t 0 'cd ~' C-m
|
||||
tmux set-options
|
4
dot_config/tmux/bootstraps/util.sh
Normal file
4
dot_config/tmux/bootstraps/util.sh
Normal file
@ -0,0 +1,4 @@
|
||||
tmux neww -n util
|
||||
|
||||
tmux send-keys -t 0 'cd ~' C-m
|
||||
tmux send-keys -t 0 'shellcaster' C-m
|
Loading…
Reference in New Issue
Block a user