-- Ducky runs this file on startup; Ctrl+R reloads it. -- Full Lua 5.4 is available. Only run scripts you trust. -- Your appearance is editable here; bundled themes: ember, glacier, paper, 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 = 16, line_height = 24, padding = 30, background = '#171411', foreground = '#dfd1bb', accent = '#e7ad72', surface = '#29231c', muted = '#8d7a66', border = '#49382a', show_status_bar = true, -- GPUI keystroke -> application action. Remove or remap any entry. shortcuts = { ['ctrl-t']='new_tab', ['ctrl-w']='close_tab', ['ctrl-c']='copy', ['ctrl-v']='paste', ['ctrl-alt-c']='interrupt', ['ctrl-r']='reload', ['ctrl-b']='toggle_status', ['ctrl-tab']='next_tab', ['ctrl-shift-tab']='previous_tab', ['ctrl-=']='font_larger', ['ctrl--']='font_smaller', ['shift-pageup']='scroll_up', ['shift-pagedown']='scroll_down', ['alt-1']='tab:1', ['alt-2']='tab:2', ['alt-3']='tab:3', ['alt-4']='tab:4', ['alt-5']='tab:5', ['alt-6']='tab:6', ['alt-7']='tab:7', ['alt-8']='tab:8', ['alt-9']='tab:9', ['alt-0']='tab:10', }, width = 1100, height = 720, scrollback = 10000, shell = '/bin/bash', args = { '--rcfile', ducky.config_dir .. '/shell.bash', '-i' }, cwd = home, env = { COLORTERM = 'truecolor' }, -- Send any command or escape sequence using a custom shortcut. -- Keystrokes use GPUI syntax: ctrl-g, alt-h, etc. bindings = { ['ctrl-g'] = 'git status\r', ['ctrl-h'] = 'cd ~\r', }, -- Palette indices 0..15 (normal and bright ANSI colors). palette = { '#29231c', '#d98375', '#b1bd8b', '#e4c387', '#a1b5b1', '#e7ad72', '#9ec5b4', '#dfd1bb', '#877364', '#eba293', '#c9d3a8', '#f0d6a6', '#bed0c9', '#f1c69d', '#bcdfcd', '#f4e9d7' }, -- Optional startup customization (for example require your own modules). -- startup = 'printf "Welcome to Ducky\\n"\r', }