Ensure to keep panes running after programs exists
This commit is contained in:
parent
34d6b486e1
commit
409b4e51ac
9
splitHP
9
splitHP
|
@ -6,14 +6,15 @@
|
|||
# -tX:Y : modifier les paramètres de la fenêtre Y de la session X. !Attention
|
||||
# la fenêtre doit exister avant de pouvoir modifier ses paramètres!
|
||||
# monitor-activity : permet de mettre en avant une fenêtre quand son contenu reçoit un événement
|
||||
# 'exec ${SHELL}' : Allow to keep the pane running after the program exists
|
||||
|
||||
# New session with first window in ~
|
||||
new -A -stoto -nmail 'mutt'
|
||||
splitw -h -p 50 -t 1 'sudo aptitude update ; sudo aptitude full-upgrade'
|
||||
new -A -stoto -nmail 'mutt ; exec ${SHELL}'
|
||||
splitw -h -p 50 -t 1 'sudo aptitude update ; sudo aptitude full-upgrade ; exec ${SHELL}'
|
||||
# New window toto:1 with htop (refresh every minute)
|
||||
neww -d -nht0p 'exec htop -d 600'
|
||||
neww -d -nht0p 'exec htop -d 600 ; exec ${SHELL}'
|
||||
# New window toto:2 for remote weechat
|
||||
neww -d -nw33 -c 'weechat'
|
||||
neww -d -nw33 -c 'weechat ; exec ${SHELL}'
|
||||
# New window toto:3 for git repositories
|
||||
neww -d -ngit -c '/home/jegardai/repos'
|
||||
|
||||
|
|
Loading…
Reference in New Issue