Skip to content

Commit 28282e4

Browse files
committed
more info on startup
1 parent 52054d2 commit 28282e4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

script/create_session

+2
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ def main():
9898

9999
command = ['tmux']
100100
if args.tmux_config:
101+
print('Using tmux config file: {}'.format(resolve_path(args.tmux_config)))
101102
command += ['-f', resolve_path(args.tmux_config)]
102103
command += ['new-session', '-s', args.session_name]
103104
command.append('-d')
105+
print(' '.join(command))
104106
if not safe_call(command):
105107
sys.exit(1)
106108

src/catmux/window.py

+2
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,6 @@ def create(self, first=False):
7777
tmux.tmux_call(['select-layout', getattr(self, 'layout')])
7878

7979
if hasattr(self, 'delay'):
80+
print('Window {} requested delay of {} seconds'
81+
.format(getattr(self, 'name'), getattr(self, 'delay')))
8082
time.sleep(getattr(self, 'delay'))

0 commit comments

Comments
 (0)