mode report (experimental; 669)
[yterm.git] / .k8-yterm.Xresources
blob2b4b16d260dc37383337070b4dc4441ac66ac69e
1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 !! YTERM settings (defaults)
3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
4 ! default window title
5 k8-yterm.window.title: YTERM
7 ! $TERM value
8 ! (not affected by reloads)
9 k8-yterm.term.name: rxvt
10 ! keyboard reporting style: "rxvt" or "xterm"
11 ! (not affected by reloads)
12 k8-yterm.term.type: rxvt
13 ! monospaced font: "Name <Bold|Medium> [Italic|Regular|Oblique], <size>"
14 ! (not affected by reloads)
15 k8-yterm.term.font: Terminus Bold, 20
16 ! Terminus font contains proper gfx chars starting from 0x01;
17 ! other fonts may not have this. if your font is not like Terminus,
18 ! use "unicode" here, to approximate the set with unicode codepoints
19 k8-yterm.term.font.gfx: terminus
21 ! wait for some time before setting terminal size
22 ! this hack is to allow WM to setup yterm size
23 ! sadly, there is no X11 event to tell us that
24 ! WM is done configuring the window, hence this hack
25 ! time in msecs, and affects only "-e" and hotswap
26 k8-yterm.term.winch.delay: 150
28 ! wait for some time before executing the initial command
29 ! this hack is to allow WM to setup yterm size
30 ! sadly, there is no X11 event to tell us that
31 ! WM is done configuring the window, hence this hack
32 ! time in msecs, and affects only "-e"
33 k8-yterm.term.exec.delay: 50
35 ! scrollback history setting for new tabs
36 k8-yterm.history.enabled: tan
37 ! global screen refresh rate, frames per second
38 k8-yterm.refresh.fps: 40
40 ! vim is absolutely fuckin' broken (and always been).
41 ! it sends DCS codes, but cannot parse a properly-formatted
42 ! DCS reply. if you happen to use vim (why?! please, don't!),
43 ! change this value to `tan` (or `true`).
44 k8-yterm.idiotic.vim: ona
46 ! tab bar font: "Name <Bold|Medium> [Italic|Regular|Oblique], <size>"
47 ! (not affected by reloads)
48 k8-yterm.tabs.font: Helvetica Medium Regular, 14
49 ! number of visible tabs, or "0" to disable tab bar
50 k8-yterm.tabs.visible: 6
51 ! cycle tabs on switching?
52 k8-yterm.tabs.cyclic: ona
54 k8-yterm.tab.color.frame.fg: #607a50
55 k8-yterm.tab.color.frame.bg: #333
57 k8-yterm.tab.color.normal.bg:       #333
58 k8-yterm.tab.color.normal.text:     #809a70
59 k8-yterm.tab.color.normal.index:    #a0ba90
60 k8-yterm.tab.color.normal.ellipsis: #607a50
62 k8-yterm.tab.color.active.bg:       #000
63 k8-yterm.tab.color.active.text:     #666
64 k8-yterm.tab.color.active.index:    #888
65 k8-yterm.tab.color.active.ellipsis: #444
67 k8-yterm.tab.color.dead.bg:       #c00
68 k8-yterm.tab.color.dead.text:     #ee0
69 k8-yterm.tab.color.dead.index:    #ff0
70 k8-yterm.tab.color.dead.ellipsis: #bb0
72 k8-yterm.tab.color.dead.active.bg:       #300
73 k8-yterm.tab.color.dead.active.text:     #e00
74 k8-yterm.tab.color.dead.active.index:    #f00
75 k8-yterm.tab.color.dead.active.ellipsis: #a00
78 ! external application to handle X11 selections
79 ! any app that can read and write stdio will do
80 ! if you want a GOOD one, use "xsel": https://vergenet.net/~conrad/software/xsel/
81 ! you can specify a full path if the app is not in your $PATH variable
82 ! default is "xsel" with right options
83 ! actually, YTERM contains built-in copy of xsel now, so the following
84 ! settings should work without installing any external software.
86 ! "paste_from" should write X selection contents to stdout, close it and exit when finished
87 k8-yterm.paste.primary  : $SELF xsel -p -o -t 16666 --trim
88 k8-yterm.paste.secondary: $SELF xsel -s -o -t 16666 --trim
89 k8-yterm.paste.clipboard: $SELF xsel -b -o -t 16666 --trim
91 ! "copy_to" should write X selection contents to stdout, close it and exit when finished
92 k8-yterm.copyto.primary  : $SELF xsel -p -i -t 0 --trim
93 k8-yterm.copyto.secondary: $SELF xsel -s -i -t 0 --trim
94 k8-yterm.copyto.clipboard: $SELF xsel -b -i -t 0 --trim
96 ! if allowed, single escape press will send ESC ESC; use alt+escape to send single ESC
97 k8-yterm.esc-esc.fix: tan
99 ! allow mouse reporing? control sequences will be accepted in any case
100 k8-yterm.mouse.reports: ona
102 ! cursor blink time, in milliseconds; use 0 to disable
103 k8-yterm.cursor.blink.time: 700
105 ! cursor colors for blinking phases; use "none" to hide the cursor in the given phase
106 ! note that only hex color values in the form "#rgb" or "#rrggbb" are accepted
107 k8-yterm.cursor.color0.fg: #050
108 k8-yterm.cursor.color0.bg: #0f0
109 k8-yterm.cursor.color1.fg: #050
110 k8-yterm.cursor.color1.bg: #0c0
111 ! inactive cursor is rendered as an empty rectangle with this color
112 k8-yterm.cursor.color.inactive: #009900
114 ! default foreground and background
115 k8-yterm.fg.color.default: #b2b2b2
116 k8-yterm.bg.color.default: #000
117 ! high intensity
118 k8-yterm.fg.color.high.default: #fff
119 k8-yterm.bg.color.high.default: #000
120 ! colors for various special attributes (cannot be "none")
121 k8-yterm.fg.color.bold: #00afaf
122 k8-yterm.fg.color.underline: #00af00
123 k8-yterm.fg.color.bold.underline: #afaf00
124 ! high intensity
125 k8-yterm.fg.color.high.bold: #0ff
126 k8-yterm.fg.color.high.underline: #4f0
127 k8-yterm.fg.color.high.bold.underline: #ff4
129 ! selection
130 k8-yterm.selection.color.fg: #fa0
131 k8-yterm.selection.color.bg: #333
132 ! selection block
133 k8-yterm.selection.block.color.fg: #fff
134 k8-yterm.selection.block.color.bg: #05c
135 ! tint selection color with real color intensity?
136 k8-yterm.selection.tint: tan
138 ! OSD menus
139 k8-yterm.osd-menu.color.active.bg: #d9d9ae
140 k8-yterm.osd-menu.color.active.fg: #000
141 k8-yterm.osd-menu.color.active.cursor.bg: #0bb
142 k8-yterm.osd-menu.color.active.cursor.fg: #000
143 k8-yterm.osd-menu.color.active.hotkey.bg: #d9d9ae
144 k8-yterm.osd-menu.color.active.hotkey.fg: #c00
145 k8-yterm.osd-menu.color.active.cursor.hotkey.bg: #0bb
146 k8-yterm.osd-menu.color.active.cursor.hotkey.fg: #c00
148 k8-yterm.osd-menu.color.passive.bg: #a0a080
149 k8-yterm.osd-menu.color.passive.fg: #000
150 k8-yterm.osd-menu.color.passive.cursor.bg: #066
151 k8-yterm.osd-menu.color.passive.cursor.fg: #000
152 k8-yterm.osd-menu.color.passive.hotkey.bg: #a0a080
153 k8-yterm.osd-menu.color.passive.hotkey.fg: #600
154 k8-yterm.osd-menu.color.passive.cursor.hotkey.bg: #066
155 k8-yterm.osd-menu.color.passive.cursor.hotkey.fg: #600
157 ! or "none"
158 k8-yterm.osd-menu.shadow.color: #000
159 k8-yterm.osd-menu.shadow.x-ofs: 6
160 k8-yterm.osd-menu.shadow.y-ofs: 6
162 ! 8 normal colors
163 k8-yterm.color0: #000000
164 k8-yterm.color1: #b21818
165 k8-yterm.color2: #18b218
166 k8-yterm.color3: #b26818
167 k8-yterm.color4: #1818b2
168 k8-yterm.color5: #b218b2
169 k8-yterm.color6: #18b2b2
170 k8-yterm.color7: #b2b2b2
171 ! 8 bright colors
172 k8-yterm.color8: #686868
173 k8-yterm.color9: #ff5454
174 k8-yterm.color10: #54ff54
175 k8-yterm.color11: #ffff54
176 k8-yterm.color12: #5454ff
177 k8-yterm.color13: #ff54ff
178 k8-yterm.color14: #54ffff
179 k8-yterm.color15: #ffffff
182 ! various hotkey definitions
183 !   .bind -- define keybind, emacs style; Xlib key names are w/o "XK_" prefix
184 !             "C-" -- ctrl mod
185 !             "M-" -- alt mod
186 !             "H-" -- hyper mod
187 !             "S-" -- shift mod
188 !   .path -- set current path for the new tab (if it executes something).
189 !            special values:
190 !              $HOME -- home dir of the current used
191 !              $PWD  -- current working directory of the current tab
192 !              $CWD  -- the same as $PWD
193 !              literal path (must be absolute)
194 !            default is user home dir ($HOME)
195 !   .color -- force color mode for the new tab.
196 !               mono   -- monochrome, black-and-white
197 !               bw     -- monochrome, black-and-white (same as "mono")
198 !               green  -- monochrome, green
199 !               normal -- normal color mode
200 !   .exec -- string to execute.
201 !            special values:
202 !            if the first arg is "$SHELL", the envvar with this name will be used
203 !   .kill -- kill current process with the given signal (arg is signal number)
205 k8-yterm.keybind.menu-tab-options.bind: H-F10
206 k8-yterm.keybind.menu-tab-options.menu: tab-options
207 k8-yterm.keybind.menu-tab-options1.bind: Menu
208 k8-yterm.keybind.menu-tab-options1.menu: tab-options
210 ! tab options currently allows to modify global options too
211 !k8-yterm.keybind.menu-global-options.bind: M-H-F10
212 !k8-yterm.keybind.menu-global-options.menu: global-options
215 k8-yterm.keybind.start-selection.bind: M-space
216 k8-yterm.keybind.start-selection.selection: start
218 k8-yterm.keybind.start-selection1.bind: C-KP_Insert
219 k8-yterm.keybind.start-selection1.selection: start
221 k8-yterm.keybind.start-selection2.bind: M-KP_Insert
222 k8-yterm.keybind.start-selection2.selection: start
225 ! command: "toggle" or bool
226 !k8-yterm.keybind.mouse-reports-toggle.bind: C-H-m
227 !k8-yterm.keybind.mouse-reports-toggle.mouse-report: toggle
229 ! command: "toggle" or bool
230 !k8-yterm.keybind.escesc-toggle.bind: C-H-e
231 !k8-yterm.keybind.escesc-toggle.escesc: toggle
233 !k8-yterm.keybind.show-cursor.bind: C-H-F11
234 !k8-yterm.keybind.show-cursor.cursor: tan
236 ! command: "toggle" or bool
237 !k8-yterm.keybind.history-mode.bind: C-H-F9
238 !k8-yterm.keybind.history-mode.history-mode: toggle
240 !k8-yterm.keybind.color-normal.bind: C-H-1
241 !k8-yterm.keybind.color-normal.color-mode: color
243 !k8-yterm.keybind.color-mono.bind: C-H-2
244 !k8-yterm.keybind.color-mono.color-mode: bw
246 !k8-yterm.keybind.color-green.bind: C-H-3
247 !k8-yterm.keybind.color-green.color-mode: green
249 k8-yterm.keybind.paste-primary.bind: S-Insert
250 k8-yterm.keybind.paste-primary.paste: primary
251 k8-yterm.keybind.paste-secondary.bind: M-Insert
252 k8-yterm.keybind.paste-secondary.paste: secondary
253 k8-yterm.keybind.paste-clipboard.bind: M-S-Insert
254 k8-yterm.keybind.paste-clipboard.paste: clipboard
256 k8-yterm.keybind.copy-to-primary.bind: S-Insert
257 k8-yterm.keybind.copy-to-primary.copy-to: primary
258 k8-yterm.keybind.copy-to-secondary.bind: M-Insert
259 k8-yterm.keybind.copy-to-secondary.copy-to: secondary
260 k8-yterm.keybind.copy-to-clipboard.bind: M-S-Insert
261 k8-yterm.keybind.copy-to-clipboard.copy-to: clipboard
262 k8-yterm.keybind.copy-to-primary-2.bind: M-S-c
263 k8-yterm.keybind.copy-to-primary-2.copy-to: clipboard
265 k8-yterm.keybind.tab-prev.bind: C-M-Left
266 k8-yterm.keybind.tab-prev.tab: prev
268 k8-yterm.keybind.tab-next.bind: C-M-Right
269 k8-yterm.keybind.tab-next.tab: next
271 k8-yterm.keybind.tab-first.bind: C-M-Home
272 k8-yterm.keybind.tab-first.tab: first
274 k8-yterm.keybind.tab-last.bind: C-M-End
275 k8-yterm.keybind.tab-last.tab: last
277 k8-yterm.keybind.tab-to-left.bind: M-S-Left
278 k8-yterm.keybind.tab-to-left.tab: move-left
280 k8-yterm.keybind.tab-to-right.bind: M-S-Right
281 k8-yterm.keybind.tab-to-right.tab: move-right
283 k8-yterm.keybind.newtab.bind: C-M-t
284 k8-yterm.keybind.newtab.path: $PWD
285 k8-yterm.keybind.newtab.exec: $SHELL -i
286 ! for exec, you can use boolean, or "default"
287 k8-yterm.keybind.newtab.history: tan
289 k8-yterm.keybind.newtab-colored.bind:  C-M-S-t
290 k8-yterm.keybind.newtab-colored.color: color
291 k8-yterm.keybind.newtab-colored.path:  $PWD
292 k8-yterm.keybind.newtab-colored.exec:  $SHELL -i
294 k8-yterm.keybind.mc.bind: C-M-m
295 k8-yterm.keybind.mc.path: $PWD
296 k8-yterm.keybind.mc.exec: mc
298 k8-yterm.keybind.root-shell.bind:  C-M-r
299 k8-yterm.keybind.root-shell.path:  $PWD
300 k8-yterm.keybind.root-shell.color: green
301 k8-yterm.keybind.root-shell.exec:  suka -F -
303 ! cannot use su due to "security fix". fuck!
304 k8-yterm.keybind.root-mc.bind:  C-M-p
305 k8-yterm.keybind.root-mc.path:  $PWD
306 k8-yterm.keybind.root-mc.color: green
307 k8-yterm.keybind.root-mc.exec:  suka -F - root -c mc
309 k8-yterm.keybind.impersonate.bind: C-M-l
310 k8-yterm.keybind.impersonate.path: /
311 k8-yterm.keybind.impersonate.exec: imper mc
313 ! kill process in the current tab
314 k8-yterm.keybind.kill-process.bind: C-H-k
315 k8-yterm.keybind.kill-process.kill: SIG_KILL