-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconlecterm.conf
111 lines (91 loc) · 1.71 KB
/
conlecterm.conf
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# configuration
(* some
(* nested
(* comments *)
shown *)
here
*)
# define the commands that will be used
# the definition is simply a list of strings starting with the program
# two special items, window-id and tab-name take a format string argument
# e.g window-id("--embed=0x%08x")
# or "-embed" window-id("%d")
command xterm {
"xterm"
"-into" window-id("%d")
"-class" tab-name("%s")
}
command emacs {
"emacs"
"--parent-id" window-id("%d")
}
command urxvt {
"urxvt"
"-embed" window-id("%d")
"-pe" "default,-tabbed"
}
command gvim {
"gvim"
"-g"
"--socketid" window-id("%d")
}
# specify the command and otions that will run in one of the tabs
pane "Project 1" {
run urxvt
start manual
#cwd "/tmp"
send-line "export PROJECT=p1"
send-line "echo 'Hello World!'\" [aa]{BB} <>\""
}
# Note: no cwd so starts in directory where conlecterm was started
pane "Project 2" {
run urxvt
start manual
send-line "export PROJECT=p2"
}
pane "Project 3" {
run urxvt
start manual
cwd "/tmp"
send-line "pwd"
}
# user
pane "Project 4" {
run urxvt
start manual
cwd "" # same as "${HOME}" (
send-line "pwd"
}
# user relative
pane "Project 5" {
run urxvt
start manual
cwd ".config" # no leading '/' so => "${HOME}/.config"
send-line "pwd"
}
pane "Work" {
run urxvt
start manual
send-line "export CONF=test1"
send-line "work-setup"
}
pane "shell" {
run urxvt
start auto
cwd "/tmp"
}
pane "EMACS" {
run emacs
start auto
#cwd home
}
pane "xterm-etc" {
run xterm
start auto
cwd "/etc"
}
pane "Vi IMproved" {
run gvim
start auto
#cwd home
}