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
|
-- Ducky runs this file on startup; Ctrl+Shift+R reloads it.
-- Full Lua 5.4 is available. Only run scripts you trust.
-- Try the bundled theme after installation: return require('themes.lagoon')
-- You can compute settings with Lua and require modules beside this file.
local home = os.getenv('HOME')
return {
font = 'JetBrainsMono Nerd Font Mono',
font_size = 15,
line_height = 21,
padding = 26,
background = '#141218',
foreground = '#ded7e8',
accent = '#c4a7e7',
surface = '#211d29',
muted = '#82758f',
border = '#393041',
show_status_bar = true,
status_bar_toggle = 'ctrl-shift-b',
width = 1100,
height = 720,
scrollback = 10000,
shell = '/bin/bash',
args = { '--rcfile', (os.getenv('XDG_CONFIG_HOME') or home .. '/.config') .. '/ducky/shell.bash', '-i' },
cwd = home,
env = { COLORTERM = 'truecolor' },
-- Send any command or escape sequence using a custom shortcut.
-- Keystrokes use GPUI syntax: ctrl-shift-g, alt-h, etc.
bindings = {
['ctrl-shift-g'] = 'git status\r',
['ctrl-shift-h'] = 'cd ~\r',
},
-- Palette indices 0..15 (normal and bright ANSI colors).
palette = {
'#211d29', '#eb8b9c', '#a6d5b0', '#e8c997',
'#9bbae8', '#c4a7e7', '#97d5cf', '#d4cbdc',
'#71657e', '#f5a5b6', '#c1e7c8', '#f2dbb8',
'#b8d1f4', '#dec4f4', '#b5e7e1', '#f1eaf6',
},
-- Optional startup customization (for example require your own modules).
-- startup = 'printf "Welcome to Ducky\\n"\r',
}
|