-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.example
402 lines (311 loc) · 12.2 KB
/
config.example
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
# '#' starts a line comment
#
# This file format uses ini-like key-value syntax.
#
# All options are equivalent to coresponding command line options (except for lower precedence).
# To get a list of all options run `wayst --help`.
#======================================[ FONT CONFIGURATION ]=======================================
## Set a list of primary fonts (All available styles will be loaded)
## The list is scanned in order and glyphs are loaded from the first font that contains them.
## You need to list EVERY font you want to use. For example:
## "IBM Plex Sans Thai" for thai script, "Noto Sans Math" for math symbols.
##
## example
## font = [
## # You can set codepoint ranges to which a given font should be applied.
## # Here we set <min>..u+24ff and u+2580..<max> to exclude the unicode
## # box drawing block. Those characters will be loaded (if present) from
## # the following font(s) in this list.
## "Hack:..u+24ff:u+2580..",
## "sauce code pro nerd font",
## # Mixing ttf/otf with bitmap fonts is ok.
## # You can set an offset to keep fonts smaller/larger than the global size.
## "Terminus:-3"
## ]
##
## default:
#
#font = Monospace
## A list of fonts used for non-color symbols (only the Regular style is loaded)
#
#font-symbol = [
# "FontAwesome",
# "PowerlineSymbols"
#]
## A list of fonts used for color symbols (only the Regular style is loaded)
#font-color = "Noto Color Emoji"
## Point size
#font-size = 9
## Bold font style
#style-bold = Semibold
## Italic font style
#style-italic = Italic
#
## Bolditalic font style
#style-bolditalic = Bold:Italic
## Load all fonts on startup
#preload-all-fonts = true
## Set static font DPI or calculate it based on physical display size and resolution.
## If set to `auto` DPI will change automatically when the window is moved between displays with
## different DPIs. The `output` option can override this setting for specific displays.
#
#dpi = auto
## Force LCD subpixel order: none, rgb, bgr, vrgb, vbgr
#fixed-lcd-order=vrgb
## Output rule
##
## Moving the window to a display matching a wildcard pattern or display index will
## set lcd geometry and dpi.
## Lcd geometry options are: none, rgb, bgr, vrgb, vbgr
## DPI can be set to `auto` to calculate from physical display dimensions. Or omitted to use global
## setting.
##
## example:
#output = "BENQ*:rgbv:102"
#output = "S24D*:rgb"
## Glyph to be aligned to the cell center and vertical offset
#glyph-align = (:2
## Exclude codepoint ranges from lcd filtering (use grayscale)
#exclude-lcd = 0..94
## Use box-drawing characters contained in font instead of builtin ones
#font-box-chars = true
## Increase cell dimensions
## - Argument 1: horizontal [px]
## - Argument 2: vertical [px]
#glyph-padding = 0:0
#========================================[ MISCELLANEOUS ]==========================================
## Override system locale
#locale = C
## Use cell size as window resize increments (X11 only)
#incremental-resize = true
## Set application id on wayland or WM_CLASS on X11
## Accepts two arguments as WM_CLASS contains two strings. On wayland only the first one is used.
#app-id = Wayst:Wayst
## Set mouse pointer hiding behaviour. Options are:
## - true - Hide on key press (client program may override)
## - false - Do not hide (client program may override)
## - force_true - Always hide on key press
## - force_false - Never hide
## - if_not_reporting - Hide on key press unless any mouse event reporting mode is active
#
#hide-pointer = true
## Start in directory
#directory = /home/user
#======================================[ TERMINAL EMULATION ]=======================================
## Set TERM
#term = "xterm-256color"
## Report VTE compatibility, might break some programs (empty to disable)
#vte-version = 6201
## Number of usec to wait for incoming data before drawing and timeout in ms.
## Increase those values to avoid flicker and improve throughput, decrease for more responsiveness.
## (Similar to st's minlatency and maxlatency)
#io-chunk-delay=5:30
## Number of lines in scroll history
#scrollback = 1000
## Show bold text in bright colors
#bold-is-bright = true
## Application window title
#title = Terminal
## Window title format
##
## You can format the window title using predefined variables:
## sAppTitle - Application window title (string)
## sVtTitle - Window title set by client program (string)
## bCommandIsRunning - Shell integration is active and a command is currently running (bool)
## i32CommandTimeSec - Time in seconds (int32_t)
## sRunningCommand - invocation text of currently running command (unavailable when using VTE protocol) (string)
## i32Rows - Terminal cell row count (int32_t)
## i32Cols - Terminal call column count (int32_t)
## i32Width - Window width in pixels (int32_t)
## i32Height - Window height in pixels (int32_t)
##
## To interpolate a variable use `{variableName}`. Variables can be used to define simple conditionals
## example: '{?i32Width > 80:the window is wider than 80px}'
##
## Supported logical expressions are: <, >, <=, >=, ==, !=, !, &&, ||.
## The number `0` and empty string evaluate to `false`, other values to `true`
## Ordering comperison between strings behaves like `strcmp`.
## Comperison between strings and numbers uses string's length.
## `\` is an escape character.
##
## Some examples:
## title-format = "{sAppTitle} - [{sVtTitle}]" # Terminal - [zsh:~]
## title-format = "{sVtTitle} [{i32Cols}x{i32Rows}]" # zsh:~ [80x24]
## title-format = "{sVtTitle}{?i32Cols != 80 || i32Rows != 24: [{i32Cols}x{i32Rows}]}" # zsh:~ [132x54]
##
## default:
#title-format = "{?sVtTitle:{sVtTitle} - }{?bCommandIsRunning && !bIsAltBufferEnabled && "i32CommandTimeSec > 1: ({sRunningCommand}) }{sAppTitle}"
## Initial number of cell rows
#rows = 24
## Initial number of cell columns
#columns = 80
## Keep the terminal window open after program exit
#hold = true
## Do not allow programs to change the window title
#no-dynamic-title = true
## Allow programs to interact with the window system through xterm protocol extensions.
## Note that this system was designed specifically for X11 (some functionality does not work on wayland).
## - Argument 1: manipulate the window
## - Argument 2: query information
#
#windowops = true:true
## Set initial cursor style and if it should blink
## Style options: block, beam, underline
#cursor-style = block:true
## Pipe output of the last command to an external program (needs shell integration).
## Other options are `screen` (only visible line) and `buffer` (includes scrollback)
## Similar to `https://st.suckless.org/patches/externalpipe/`
## Your script needs execute permissions and will receive the following arguments:
## --rows=<rowCount>
## --columns=<columnCount>
## --pid=<terminalPid>
## --title=<currentWindowTitle>
## --x-window-id=<TerminalWindowXID> (sent only if using X11)
## --command=<nameOfCommand> (only if sending command output and name is available)
## --command-exit-code=<exitOfCommand> (only if sending command output)
# extern-pipe = /path/to/your/script.sh:command
## Lines scrolled per wheel click
#scroll-lines = 3
## Always use CSD's on wayland
#force-csd = true
#======================================[ COLORS AND THEMING ]=======================================
# Colors can be formatted as:
# - CSS hex color notation (the `#` can be omitted)
# - CSS-like rgb() and rgba() in 0-255, 0.0-1.0, %, deg, rador grad
# - CSS-like hsl() and hsla() in 0.0-1.0, %, deg, rador grad
# - XParseColor()'s RGB specification
# - XParseColor()'s RGB intensity specification
## Load one of the default colorschemes
## options are: wayst, linux, xterm, rxvt, yaru, tango, orchis, solarized
#colorscheme = tango
## Overwrite parts of the colorscheme
#
## Background (transparent) and foreground colors (opaque)
#bg-color = rgba(0,0,0,0.90)
#fg-color = "#d8d8d8"
#
## Primary colorpalette (opaque colors)
#
#color-0 = "#606060"
#color-1 = "#df9a98"
#color-2 = "#719672"
#color-3 = "#e0bb71"
#color-4 = "#96bbdc"
#color-5 = "#dfbdbc"
#color-6 = "#97bcbc"
#color-7 = "#d8d8d8"
#color-8 = "#757575"
#color-9 = "#e07798"
#color-10 = "#97bb98"
#color-11 = "#ffdd98"
#color-12 = "#badcfb"
#color-13 = "#ffbebc"
#color-14 = "#96ddde"
#color-15 = "#e9e9e9"
## Highlighted text background color (transparent)
#highlight-bg-color = "#ffffff"
## Highlighted text foreground color (opaque)
#highlight-fg-color = "#000000"
### Tint color for aout of focus windws (transparent)
#unfocused-tint = "#00000011"
## Set visual bell color (transparent) or `none` to disable
#visual-bell = none
## Enable background blur hints for KDE Plasma
#bg-blur = true
## Use minimal window decorations.
## Uses Motif Window Manager hints on X11 (very few WMs support this). Does not work on wayland.
#decorations = minimal
## Set _GTK_THEME_VARIANT hinting X11 window decorators to use a light or dark theme (very few WMs support this)
## Options are:
## - none
## - dark
## - light
## - auto (autoselect theme based on `bg-color` brightness)
#decoration-theme = auto
## Animate cursor
## - Argument 1: Smooth transitions for horizontal movement
## - Argument 2: Smooth blinking
## - Argument 3: Fraction of the cursor blink interval fading animation should last
#cursor-anim = false:true:0.25
## Cursor blinking parameters
## - Argument 1: enable
## - Argument 2: time to switch between cursor shown/hidden [ms]
## - Argument 3: suspend cursor blinking afer kbd input [ms]
## - Argument 4: stop cursor from blinking alfer a time of inactivity [s]
#blink=true:750:500:15
## Scrollbar dimensions
## - Argument 1: width [px]
## - Argument 2: minimum length [px]
## - Argument 3: hide delay [ms]
## - Argument 4: hide animation time [ms]
#
#scrollbar = 10:20:1500:150
## Pad screen content
## - Argument 1: Center screen content instead of aligning to top left
## - Argument 2: Blank space around content [px]
#padding = true:0
## Draw links underlined even if not hovered
#always-underline-links = false
#=========================================[ KEYBINDINGS ]===========================================
# Key names are keysym names (Case sensitive!).
# see /usr/include/X11/keysymdef.h
#
# Modifier aliases:
# Control: C, Ctrl, Control,
# Alt: A, M, Alt, Meta,
# Shift: S, Shift
#
# Examples:
# Control+Shift+Alt+Super_L
# M+x
## Copy to clipbord
#bind-key-copy=C+S+c
## Paste from clipbord
#bind-key-paste=C+S+v
## Increase font size
#bind-key-enlarge=C+S+equal
## Decrease font size
#bind-key-shrink=C+S+minus
## Activate unicode entry mode
#bind-key-unicode=C+S+u
## Scroll up by page
#bind-key-pg-up=C+S+Page_Up
## Scroll down by page
#bind-key-pg-down=C+S+Page_Down
## Scroll up by line
#bind-key-ln-up=C+S+Up
## Scroll down by line
#bind-key-ln-down=C+S+Down
## Scroll up to previous mark or command output (requires shell integration)
#bind-key-mark-up=C+S+Left
## Scroll down to next mark or command output (requires shell integration)
#bind-key-mark-down=C+S+Right
## Copy last command output to clipboard (requires shell integration)
#bind-key-copy-output=C+S+x
## Pipe screen content to external program
#bind-key-extern-pipe=C+S+backslash
## Enter vim-like keyboard select mode
#bind-key-kbd-select=C+S+k
## Open shell's working directory (set with shell integration) as URI
## By default uses xdg-open (should open your default file manager)
#bind-key-open-pwd=C+S+F10
## Save screen content as HTML document
#bind-key-html-dump=C+S+F12
## Open a new terminal instance in current directory
#bind-key-duplicate=C+S+d
## Close terminal
#bind-key-quit=C+S+q
## Print debuging information to stderr
#bind-key-debug=C+S+slash
#=======================================[ DEBUGING OPTIONS ]========================================
## Output pty communication to stderr
#debug-pty = true
## Slow down the interpreter to usec per byte, force screen redraw after each byte.
#debug-vt = 5000
## Run renderer in debug mode:
## - Partial swap regions swapped marked with red boxes (actual partial swap disabled)
## - When text proxy textures are reused old content is tinted white
## - Adds a triangle in the top left alternating visibility each frame
#debug-gfx = true
## Show font information on starts
#debug-font = true