aboutsummaryrefslogtreecommitdiffstats
path: root/assets/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'assets/config.lua')
-rw-r--r--assets/config.lua46
1 files changed, 27 insertions, 19 deletions
diff --git a/assets/config.lua b/assets/config.lua
index 65de5ea..64a0f39 100644
--- a/assets/config.lua
+++ b/assets/config.lua
@@ -1,21 +1,32 @@
--- Ducky runs this file on startup; Ctrl+Shift+R reloads it.
+-- Ducky runs this file on startup; Ctrl+R reloads it.
-- Full Lua 5.4 is available. Only run scripts you trust.
--- Try the bundled theme after installation: return require('themes.lagoon')
+-- 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 = 15,
- line_height = 21,
- padding = 26,
- background = '#141218',
- foreground = '#ded7e8',
- accent = '#c4a7e7',
- surface = '#211d29',
- muted = '#82758f',
- border = '#393041',
+ font_size = 16,
+ line_height = 24,
+ padding = 30,
+ background = '#171411',
+ foreground = '#dfd1bb',
+ accent = '#e7ad72',
+ surface = '#29231c',
+ muted = '#8d7a66',
+ border = '#49382a',
show_status_bar = true,
- status_bar_toggle = 'ctrl-shift-b',
+ -- 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,
@@ -24,17 +35,14 @@ return {
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.
+ -- Keystrokes use GPUI syntax: ctrl-g, alt-h, etc.
bindings = {
- ['ctrl-shift-g'] = 'git status\r',
- ['ctrl-shift-h'] = 'cd ~\r',
+ ['ctrl-g'] = 'git status\r',
+ ['ctrl-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',
+ '#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',