Configuration
All settings live in plain RON files under one directory, and DropTerm reloads them live: a change in Settings or a direct file edit applies without a restart.
~/.config/io.github.l1br3_io.dropterm/
├── config.ron the settings keys
├── profiles.ron profiles and default_profile
├── keybinds.ron custom_key_binds
└── completions.toml optional: your own completions
Linux follows $XDG_CONFIG_HOME (~/.config when unset). macOS uses ~/Library/Application Support/io.github.l1br3_io.dropterm/. Windows uses %APPDATA%\io.github.l1br3_io.dropterm\. An absolute $XDG_CONFIG_HOME wins on every platform. Each .ron file is one map of keys, and none must exist: a missing file, or a key a file leaves out, uses its default. Settings' General page carries an Open config file button that opens this build's config.ron (settings). config.ron can hold only the keys you care about:
// ~/.config/io.github.l1br3_io.dropterm/config.ron
(
height_percent: 60,
h_align: Left,
)
Most keys are editable in Settings. One is reserved for behavior that does not ship yet (Parked and reserved keys).
Nothing reads or imports the old layout (~/.config/cosmic/<app id>/v1/, one file per key, through cosmic-config). The first start begins from the defaults. Copy what you want to keep into the section file that owns it.
How edits apply
| Rule | What happens |
|---|---|
| Live | saving a file applies it at once, like a drawer change - the two are one path. Apply rides the store's file watcher; if the watcher cannot start (an inotify watch limit, say), writes persist and apply at the next start. |
| A file that does not parse is ignored while DropTerm runs | the last good values stay in effect until it parses again; a deleted file likewise changes nothing until the next start. |
| A file that parses replaces its section whole | keys the file omits reset to their defaults on the live surface - the file is the section, not an overlay. |
| At startup, a file that does not parse is moved aside | to <name>.bak (config.ron.bak); its keys start from their defaults, the other files are unaffected. |
| The drawer rewrites the whole file it saves | it re-reads first, so hand-edited keys are kept, but every key is written out and comments are not preserved. If the file does not parse at that moment, it moves to .bak and the save starts from the running settings. |
Optional values are written Some(...) | shell, default_cwd, default_profile, output, and background_image are unset by leaving the key out (or writing None) and set as Some("/usr/bin/fish") - a bare "/usr/bin/fish" does not parse. |
| The bands' arrangement is state, not config | panels.ron (Bands) is read once, at startup, and rewritten whole after a change; the rules above are the config files'. |
The default config directory
A fresh install has no files here - each appears on its first save. These are the defaults, with each value as written in config.ron (a genuine string is quoted; an enum, number, or bool is bare). A test pins the table to the code, so it cannot drift:
| Key | Default |
|---|---|
height_percent | 50 |
width_percent | 100 |
h_align | Center |
edge | Top |
layer | Top |
keyboard_mode | Exclusive |
respect_panel | true |
font_name | "Noto Sans Mono" (Linux) / "Menlo" (macOS) / "Consolas" (Windows) |
font_size | 14 |
color_scheme_dark | "GitHub Dark" |
color_scheme_light | "GitHub Light" |
opacity | 100 |
background_image | unset |
background_image_mode | Cover |
background_image_opacity | 100 |
scrollback_lines | 10000 |
scrollbar_visible | true |
hide_on_focus_loss | false |
hotkey | "Alt+Space" (Linux, macOS) / "Ctrl+`" (Windows) |
session_persistence_enabled | true |
slide_animation_enabled | false |
bell_notification_enabled | true |
command_finish_notification_enabled | true |
command_finish_notification_after_secs | 5 |
new_tab_after_current | true |
close_confirmation_enabled | true |
hide_button_enabled | true |
theme_preference | System |
new_tab_cwd | Inherit |
panel_rail_enabled | false |
panel_rail_width_px | 280 |
left_rail_enabled | false |
left_rail_width_px | 280 |
input_mode | Native |
input_ghost | true |
input_menu | true |
input_auto_popup | true |
input_descriptions | true |
input_badges | true |
input_icons | true |
input_argument_hint | true |
input_compact_rows | false |
autosuggestions_paths_enabled | true |
autosuggestions_commands_enabled | true |
autosuggestions_completions_extended | true |
autosuggestions_history_context | true |
autosuggestions_delay_ms | 0 |
images_enabled | true |
onboarding_dismissed | false |
gnome_extension_asked | false |
onboarding_autocomplete_settled | false |
onboarding_plugins_settled | false |
start_at_login | false |
onboarding_start_at_login_settled | false |
shell_integration | true |
The remaining keys default to unset or empty:
| Key | Default |
|---|---|
shell | unset - falls back to $SHELL, then /bin/sh; on Windows to the first of pwsh.exe and powershell.exe on PATH, then the literal powershell.exe |
args | empty |
default_cwd | unset |
autosuggestions_aliases | empty - no alias re-targets anything |
output | reserved - nothing reads it yet |
panel_rail_sections | unset - every standing section shows, in the rail's own order |
left_rail_sections | unset - every standing left-rail view shows, in registration order |
context_menu_rows | unset - every plugin's menu rows show, as declared |
profiles, default_profile | in profiles.ron |
custom_key_binds | in keybinds.ron |
Geometry
| Key | Values | Default | What it does |
|---|---|---|---|
height_percent | 10-100 | 50 | Surface height as a percentage of the output height. Written automatically after a grab-bar drag settles. In window mode (experimental) a border resize is never written here: that size is remembered for the session, and an edit to this key or to width_percent, or a grab-bar drag, replaces it. |
width_percent | 30-100 | 100 | Surface width as a percentage of the output width; 100 is the original full-width surface. On an X11 session the width is a share of the whole screen, every monitor together, so 100 spans them all (experimental window mode). |
h_align | Left, Center, Right | Center | Horizontal placement of the surface. Only meaningful below width_percent 100. |
edge | Top, Bottom | Top | The screen edge the terminal drops from. On Windows the terminal drops from the configured edge of the work area - Top and Bottom both apply. |
h_align and edge apply on layer-shell desktops and on GNOME with the Shell extension on (experimental). Elsewhere the desktop places a window-mode window. Geometry applies live: DropTerm reshapes a shown surface in place, and a hidden one picks the change up at its next show.
Appearance
| Key | Values | Default | What it does |
|---|---|---|---|
font_name | font family name | Noto Sans Mono (Linux) / Menlo (macOS) / Consolas (Windows) | The terminal's typeface. The default family ships inside the app, so it renders on every platform, fontless systems included. Settings' picker lists the installed monospace families; an unresolvable name falls back through the platform natives to the bundled default, your value kept in the file. |
font_size | points | 14 | The terminal's font size. |
opacity | 0-100 | 100 | Background opacity. Below 100 it needs a running compositor: on an X11 session with the compositor off, nothing sits behind the window to show through (experimental window mode). |
color_scheme_dark | scheme name | GitHub Dark | Scheme used while the system is in dark mode. |
color_scheme_light | scheme name | GitHub Light | Scheme used while the system is in light mode. |
theme_preference | System, Dark, Light | System | Follow the OS light/dark setting, or pin one. |
background_image | image file path | unset | An image painted under the terminal grid, behind default-background cells - a cell the app paints itself keeps covering it. See Background image. |
background_image_mode | Cover, Contain, Stretch | Cover | How the image fills the pane: Cover fills and crops, Contain fits whole with the scheme background beside it, Stretch fills exactly. |
background_image_opacity | 0-100 | 100 | How much of the image shows through. |
Scheme names come from the built-in registry - the same names the drawer's pickers offer (Theming). An unknown name falls back to the GitHub pair, and DropTerm never rewrites it. All nine keys apply live.
Background image
| Rule | What happens |
|---|---|
background_image (default unset) | paints one image under the terminal grid, behind every default-background cell - a cell the app paints itself (a vim theme, SGR 41) keeps covering it. Unset: the panes show the flat scheme background and the other two keys do nothing. |
A leading ~ | expands against your home directory (~/Pictures/wall.jpg; a bare ~ is the home itself). Nothing else expands - no $VAR, no ~user. Any other path is used as given; a relative path resolves against the directory DropTerm was started from. The file keeps what you typed. |
background_image_mode (default Cover) | sets the fill: Cover scales to fill and crops the overflow; Contain fits whole, centered, with the scheme background beside it; Stretch fills exactly, ignoring the image's proportions. |
background_image_opacity (default 100) | is how much of the image shows. It composes with opacity: the desktop shows through exactly 1 - opacity, image or not; at 0 you are back to the flat paint. |
| The decode guard | PNG, JPEG, GIF, and WebP decode under the same guard the inline images use: dimensions up to 8192 px a side and a 16.7-megapixel budget, so a 6K wallpaper exceeds it. An animated file paints its first frame. |
| A dead or undecodable path | logs one quiet dropterm: line and the panes stay on the flat scheme background - never an error surface. The cache keys by path, failures included: an edited file at the same path needs a restart to reload. The three keys apply live: a changed path, fit, or opacity lands on the running panes on the next tick. |
Bands
The bands are the slim strips at the top and bottom edges of the drop-down's column: the chips band, carrying DropTerm's own chips; the tab strip's band; and any band a plugin's manifest declares (bands is the author's page, panel containers the model's). No key governs a band. You arrange one by hand: Ctrl+Shift+B hides and shows the chips band, and Ctrl+Shift+J the tab strip (and brings it back once its own menu hid it). A band's right-click menu moves or hides it, and its handle resizes it.
Band state lives in panels.ron under the state home: $XDG_STATE_HOME/io.github.l1br3_io.dropterm/panels.ron, or ~/.local/state/io.github.l1br3_io.dropterm/panels.ron when XDG_STATE_HOME is unset (honored when absolute). DropTerm reads it once, at startup, and rewrites it whole after a change. It does not watch it.
(version: 1, bands: { "chips": (edge: top, hidden: false, height_px: 40) })
| The file holds | |
|---|---|
version | the file's schema version, 1 |
bands | one entry per band, keyed by the band's id |
An entry has three fields: edge (top, bottom, or free), hidden, and height_px.
panels.ron entry | |
|---|---|
| with no entry | a band starts as its declaration gives it: at its declared edge (free unless the manifest says otherwise, which lays at the edge opposite the screen anchor), shown, 28 px tall (one chip row); the tab strip's band starts at 32 px |
| drag floors and ceilings | a drag never takes a band under 20 px or over half the column; a remembered height under the floor reads the floor. Height is a minimum: a band grows past it, up to half the column, while its chips need more rows. |
| a hand-moved edge | stands over the declaration |
| a missing file | the default state, with no log line |
| a file that does not parse, or carries another version | logs one line and takes the defaults - nothing is quarantined, unlike session.ron |
| an entry for a band no manifest declares any more | kept: the band comes back as you left it |
Context menu
One manifest key, menu, puts a plugin's declared commands in the terminal's context menu (plugins is the author's side). The rows stand above "Settings…" behind a divider of their own and are always enabled. A pick runs the command as a palette pick does.
context_menu_rows (default unset) says which of them show, and in what order:
context_menu_rows: Some(["case-helpers/upper", "ops/search"]),
context_menu_rows | |
|---|---|
| a row's name | its plugin id and its command id joined by one slash (case-helpers/upper) |
| unset | every row whose when holds, plugins in directory order, each plugin's rows as declared |
| set | exactly the listed rows, in the list's order |
Some([]) | no plugin row: the menu is DropTerm's own |
when | judged at each menu open - a listed row can be absent from one open to the next, at no cost |
| an address no plugin declares | lays nothing and is named in one quiet dropterm: log line, at each plugins rescan or config reload |
| an entry listed more than once | keeps its first place |
| a hand edit | applies on the config echo's next view pass |
| who writes it | no script: the list is the user's |
Panel rail
panel_rail_enabled (default false) stands the host-owned right edge rail the container plugin views dock into. Off, nothing in the composition changes. On, the rail stands beside the drawer's column at its remembered width (280 px until you drag it). Two plugin surfaces fill it, one titled section each: panel views and output channels.
panel_rail_width_px (default 280) is that remembered width. Dragging the rail's inner edge applies it live and a settled drag writes it here automatically, when the width changed; a restart reopens the rail at it. It floors at 160, and no ceiling lives in the file - the ceiling is the window's own room, keeping the drawer's column at least 320 px.
panel_rail_sections (default unset) says which of those sections show, and in what order:
panel_rail_sections: Some(["ops-helpers/build", "tasks", "ops-helpers/test"]),
panel_rail_sections | |
|---|---|
| a panel view's name | its view id (tasks) |
| an output channel's name | its plugin id and name joined by one slash (ops-helpers/build) |
| unset | every view in registration order, then every channel in the order the scripts opened them |
| set | exactly the listed sections that exist, in the list's order, the two kinds interleaved as listed - a channel may stand above a view |
Some([]) | the rail stands and shows no section |
| a section the list leaves out | hidden on the paint side: it keeps its seat and content, a hidden view is still asked on the rail's cadence, a hidden channel still takes its lines; list it again and it returns with what it kept |
| the gaps between the list and what stands | two quiet dropterm: log lines, each said once when its set changes: rail sections configured but not standing: [...] for a listed id nothing stands behind (a plugin not installed, or a lazy one not loaded yet), and rail sections standing but not listed: [...] for a section the list leaves out |
| an entry listed more than once | keeps its first place, its later copies named in the first line |
| an id with exactly one slash | a channel's address only while that channel stands; otherwise it is a view id, so a view whose id carries a slash cannot be listed while a channel with that plugin and name stands |
| the gate | panel_rail_enabled stands above the list: with the rail off, the list changes nothing in the composition, though the two log lines are still said |
| where they are edited | the Side panel page of the Settings; the gate also flips from the palette's Toggle the side panel row; a press in either lands at once |
| a hand edit | applies live, on the config echo's next view pass |
| who writes it | no script: they are the user's |
The left rail
left_rail_enabled (default false) stands a second edge rail, at the drawer's left, and left_rail_sections (default unset) is that rail's own section list. Both take the right pair's rules above, one rail over:
left_rail_enabled: true,
left_rail_sections: Some(["notes"]),
left_rail_width_px (default 280) is the left rail's remembered width, the right rail's panel_rail_width_px one rail over: a settled drag on its inner edge writes it, and a restart reopens the rail at it.
left_rail_sections | |
|---|---|
| which rail a view seats on | the author's container word (right-rail or left-rail); the user decides whether each rail stands, and does not move a view between them |
| entries | view ids only - an output channel stands on the right rail alone |
| unset | the left rail shows its views in registration order |
| set | exactly the listed views that exist, in list order |
Some([]) | the rail stands and shows no section |
| a view the list leaves out | hidden on the paint side, its seat and content kept |
| the gaps between the list and what stands | the same two quiet dropterm: lines, each said once when its set changes: left rail sections configured but not standing: [...] and left rail sections standing but not listed: [...] |
| the gate | left_rail_enabled stands above its list, as on the right |
| where they are edited | the Side panel page of the Settings; the gate also flips from the palette's Toggle the left side panel row |
| who writes it | no script: they are the user's |
Close confirmation
close_confirmation_enabled (default true) asks before closing a tab whose terminal runs a foreground process - an in-surface modal, one prompt at a time, including the tab context menu's Close Other Tabs and Close Tabs to the Right sweeps (pinned tabs never close). false restores instant, unconfirmed closes.
A shell exiting on its own never confirms. DropTerm reads the key at request time, so a flip applies to the very next close.
Shell and directories
| Key | Values | Default | What it does |
|---|---|---|---|
shell | path to a binary | unset | The shell plain new tabs run. Unset falls back to $SHELL, then /bin/sh - on Windows to the first of pwsh.exe and powershell.exe on PATH, then the literal powershell.exe. On Linux the value must be a path (/usr/bin/fish), not a bare name; on Windows a path with either separator or a bare name. A Windows PowerShell path integrates under its four names (pwsh, pwsh.exe, powershell, powershell.exe); cmd.exe does not (shell integration). A Windows value may also name WSL: wsl.exe runs the default distribution, wsl.exe -d <name> a named one - the distribution's default shell runs with the integration and the tab's folder rides --cd; a distribution name carrying spaces cannot be spelled (wsl.exe -d Debian 12 falls back to the shell chain). The dropdown lists /etc/shells on Linux; on Windows it walks PATH for the two PowerShells and cmd.exe, adds every installed distribution as WSL: <name>, and offers the two literals when nothing is found - never a Unix path. |
args | extra arguments | empty | Arguments for that shell, split on whitespace with no quoting. In a WSL tab they reach the distribution's inner shell, behind the add-on; one -d pair (-d <name>, -d=<name>, --distribution <name>, --distribution=<name>) names the distribution there instead. A second -d pair, or --exec, -e, --shell, or -s, refuses the whole value - the shell chain answers - and your own --cd stands, keeping the tab's folder from riding. |
new_tab_cwd | Inherit, Default | Inherit | Where plain new tabs open. Inherit follows the default chain (an explicit --cwd, else the active tab's directory, else the pty default); Default opens in default_cwd instead. |
default_cwd | directory | unset | The directory Default mode opens in. Not existence-checked until the spawn: a dead path logs a warning and the tab opens in the pty default. |
shell and args apply to the next spawn only - DropTerm never re-launches a running tab. new_tab_cwd covers the plain spawns (Ctrl+Shift+T, the tab bar +, the context menus' plain New Tab, a bare remote new-tab, the fresh-startup tab). It never covers Ctrl+Shift+H (home is that bind's contract), duplicates, profile launches, or session restore. An explicit --cwd wins in both modes.
// config.ron
(
new_tab_cwd: Default,
default_cwd: Some("/srv/work"),
)
Behavior toggles
| Key | Default | What it does |
|---|---|---|
hide_on_focus_loss | false | Hide the terminal when it loses keyboard focus. Off, it stays open when you click another window and shares keyboard focus like a normal window instead of holding an exclusive grab; the summon key, the tray, the close button, or Ctrl+Shift+Q put it away. On is the hotkey-driven drop-down's mode. Applies live: a shown drop-down's keyboard grab downgrades (or returns to the configured mode) in place; a hidden one resolves on its next show. The images panel's Open / Open folder launches hand a stay-open surface a hide too, so a launched viewer is never left behind it. Window mode too: with the switch on, the window hides on keyboard focus loss - on an X11 session under a focus-follows-mouse window manager, as soon as the pointer leaves it (experimental window mode). |
hotkey | Modifier+Key string | Alt+Space (macOS, Linux) / Ctrl+` (Windows) |
start_at_login | false | Run at login (Windows): the login entry runs the binary --hidden at sign-in, so the summon key works after a reboot (keybindings); off removes the entry. The setup wizard's Start with Windows page asks once and the Drop-down card's switch live-edits it. On macOS and Linux the key loads and does nothing - each OS keeps its own autostart. |
session_persistence_enabled | true | Save the session on change and restore it on launch (sessions). false stops saves and skips restore; the saved file is never deleted, so re-enabling resumes over it. |
slide_animation_enabled | false | Animate show/hide with the 150 ms slide (animation): on layer-shell desktops and on Windows the app draws it and true opts in. On GNOME (window mode, experimental) the slide is not supported, so the switch is disabled in Settings and the terminal appears and leaves at once whatever the file says (known issues). |
bell_notification_enabled | true | Post a desktop notification when a bell rings while the terminal is hidden (bell). |
command_finish_notification_enabled | true | Post a desktop notification when a command finishes while the terminal is hidden, carrying its duration and its name when one was sampled (bell). One notification per tab per hide period; false silences them. |
command_finish_notification_after_secs | 5 | Minimum command duration, in seconds, that posts the finished-command notification. A hidden ls never pings; a finish exactly at the threshold counts. |
images_enabled | true | Inline images (images): OSC 1337 sequences - iTerm2's imgcat in both its forms, wezterm imgcat, and forced-mode chafa -f iterm/timg/viu - decode in place and ride the grid like text, scrolling away with the output and reflowing with the window. PNG, JPEG, GIF, and WebP decode under strict size ceilings; oversized or malformed payloads render nothing, never half. Sixel stays deferred, and inline=0 sequences render nothing either way. false makes the whole pipeline inert - sequences stay parsed, nothing decodes or places. Applies live. |
shell_integration | true | Shell integration (shell-integration): every spawned bash, zsh, and fish - and PowerShell on Windows, under its four names - is injected with DropTerm's own emitter scripts (argv/env changes only, never an edit to your rc files), so prompt marks (OSC 133), exit codes, and working-directory reports (OSC 7) arrive with no configuration, and the rich-mode editor claims every prompt, including ones the grid cannot parse. Untouched: sh, nushell, ssh remotes, cmd.exe and bash.exe (Git Bash) on Windows, and --cmd programs. Suppressed for one spawn: a user-configured --rcfile, fish's init flag, PowerShell's -NoProfile, -Command, or -c. A hand-installed integration you already run is consumed as-is. false skips the whole path - no scripts, no argv/env change - and the passive, grid-read behavior stands byte-identical. Applies to shells spawned after the edit. |
onboarding_dismissed | false | The setup wizard's summon page, settled (settings): true means the page was answered, by its own button or by Skip, and a cold start never offers it again. A bound COSMIC shortcut satisfies the page without writing this key - the binding lives in the system's shortcut config. This key owns only the question. |
gnome_extension_asked | false | The setup wizard's GNOME extension page, settled (settings): on GNOME, and any session without layer-shell, offered when the Shell reports the extension installed and switched off. Turn on and Skip both set this key, so the page is asked once. To change your mind: GNOME's Extensions app, gnome-extensions enable dropterm@l1br3-io.github.io, or Run setup again (Settings, the General page) (experimental). |
onboarding_autocomplete_settled | false | The setup wizard's suggestions page, settled (settings): true means the page was answered, by Turn on suggestions or by Skip, and a cold start never offers it again. The mode itself is input_mode; this key owns only the question. |
onboarding_plugins_settled | false | The setup wizard's plugins page, settled (settings): true means the page was answered, by Skip or by Next, and a cold start never offers it again. Plugins themselves need no switch (plugins); this key owns only the question. |
onboarding_start_at_login_settled | false | The setup wizard's Start with Windows page, settled (settings): true means the page was answered, by its switch or by Skip, and a cold start never offers it again. The switch itself is start_at_login; this key owns only the question. |
new_tab_after_current | true | New tabs land directly after the active tab. false appends at the end of the list (Guake's ordering); duplicate-tab always lands after the active tab. |
hide_button_enabled | true | A toggle on the tab strip that puts the terminal away, the Ctrl+Shift+Q action. Its arrow follows edge. It lays with the + and the gear, whenever the strip stands. Applies live. |
scrollback_lines | 10000 | Scrollback capacity per terminal - a hard ring cap, fixed when a terminal is created, so it applies to the next spawn. Worst-case resident cost at the default and 200 columns: ~53 MB (50.5 MiB) per saturated tab, scaling linearly with this value - ten saturated tabs sit near 0.5 GB. |
scrollbar_visible | true | The terminal's scrollbar: an 8 px strip at the pane's right edge whose thumb shows where the viewport stands in the scrollback. Drag the thumb to move through the scrollback; press the track above or below it to jump. The thumb shows only while there is scrollback to scroll, but the strip is reserved whenever the key is on, so the grid renders 8 px narrower - the first line of scrollback never reflows the pane. false removes the strip and the grid takes the width back. Applies live - the grid reflows to the new width. |
The toggles apply at their next natural trigger - the session toggle at the next save/restore cycle, the slide toggle at the next transition, the bell toggle at the next bell, placement at the next new tab.
Auto complete
Auto complete is the suggestions over the prompt line. input_mode picks whether they show. Native (the default) is the bare shell - every keystroke is forwarded verbatim, and nothing is suggested. Rich keeps the shell's own line and draws the ghost and the completion menu over it at a live prompt (rich input). Three old keys - autosuggestions_enabled, autosuggestions_menu_enabled, autosuggestions_menu_auto - are gone outright, with no migration: their roles live under the names below, and a config file still carrying them loads and ignores them.
| Key | Default | What it does |
|---|---|---|
input_mode | Native | Whether the suggestions show (per-profile through the profile field of the same name; unset follows this global). Native is the bare shell - every keystroke reaches the PTY verbatim, no ghost, no menu. Rich draws two overlays over the prompt row at a live, focused, unscrolled prompt: the ghost and the completion menu; a foreground program or a prompt DropTerm cannot recognize stands both aside, and every key is the shell's. Applies live. |
input_ghost | true | Ghost text over the shell's prompt row: the dim rest-of-command after the cursor, Right accepting it whole, Alt+Right one word, Escape clearing it until the line changes. false darkens the ghost alone. Applies live. |
input_menu | true | The completion menu (the menu): a panel over the prompt row listing every provider's candidates for the segment being typed; shown by Ctrl+Space when a row has letters to add, over what is left after Tab types the letters matching rows share, and - with input_auto_popup - as you type. false removes the menu surface exactly; the ghost is untouched. Applies live: a showing menu closes the moment the switch lands. |
input_auto_popup | true | The menu's as-you-type path: an idle prompt whose typed segment changes - at the line end, past the two-character floor - pops the menu without a key, a single qualifying row included. false leaves the list to Tab and Ctrl+Space. Applies live. |
input_descriptions | true | Menu rows carry the completions corpus' descriptions. false hides the description column. Applies live. |
input_badges | true | Menu rows carry their type badges - cmd/flag/folder/file/hist/env/sub. false hides the badges. Applies live. |
input_icons | true | Menu rows carry their icons. false hides the icons. Applies live. |
input_argument_hint | true | The argument hint line renders above the menu. false hides the hint. Applies live. |
input_compact_rows | false | The menu's density: comfortable rows by default, true compact. Applies live. |
autosuggestions_paths_enabled | true | Path completion joins the suggestions: a typed path token (~/sr, ../co, ./te, /usr/bi) ghosts its first sorted match from the parent directory, directories suffixed /, names the shell would mangle backslash-escaped or not suggested at all (autosuggestions). Local-machine knowledge - silent over ssh. false restores history-only suggestions. |
autosuggestions_commands_enabled | true | Command-name completion joins the suggestions: at the command position the typed word ghosts its shortest match among the executables on the tab's spawn-time $PATH (ties alphabetical; the match must extend the word) - a fresh tab with an empty history finishes gi → git, and after one real run history takes over invisibly (autosuggestions). A spawn-time snapshot, never rescanned; local-machine knowledge - silent over ssh. false restores history-only suggestions. |
autosuggestions_completions_extended | true | The installed extended completions tier: the packaged completions-extended.toml, found in the XDG data dirs, adds beside the embedded floor while the key is on - a default install knows 620 commands' subcommands, flags, and argument suggestions instead of 93 (autosuggestions). Defaults to true: the file ships inside the package, so the toggle is the kill switch, not the opt-in. An absent, unreadable, or invalid file answers the embedded floor whatever the key says; the user's own completions.toml overrides both tiers. Flips apply live. |
autosuggestions_history_context | true | History remembers its directory: an Enter-committed command records the shell's working directory beside it and merges into DropTerm's own history.ron under the XDG state seat (~/.local/state/…), capped, deduped, and seeded back at boot before the shell's own contextless history file - commands you ran in this project carry this project's context. The menu's history rows and the ghost rank cwd-matching entries first, recency among equals. false restores the recency-only ring exactly - no cwd capture, and an off run never touches the store file. Applies live at the next commit. |
autosuggestions_delay_ms | 0 | The suggest idle delay, in milliseconds: a qualifying suggestion is withheld until the typed segment has been stable this long - no ghost churns while you type fast, it appears once at the pause (200-300 suits that; 0 is fish parity). Any keystroke restarts the wait and dismisses a showing ghost instantly; Right/Alt+Right are unchanged the moment the ghost shows. Changes when a suggestion is seen, never which one wins (autosuggestions). Applies live. |
autosuggestions_aliases | {} | The user-declared alias map, hand-edited in the config file: alias → expansion, gc = "git checkout", re-targeting the specs and catalog completions at the expansion's words - a mapped alias ghosts what its expansion ghosts (gc --dr ghosts git's --dry-run); history still outranks, and it is silent over ssh. Authoritative for exactly what you declare: DropTerm never reads or parses your shell rc files and never runs anything in the session to discover aliases, and an accept still writes only the suggestion's suffix - never the expansion unless you accepted ghost text that spelled it (autosuggestions). Chains resolve recursively, depth-capped at 3 and cycle-safe. Applies live at the next typed prefix. |
The alias map is written by hand in config.ron, one expansion per declared alias:
// config.ron
(
autosuggestions_aliases: {
"gc": "git checkout",
},
)
Layer, focus, and panels
| Key | Values | Default | What it does |
|---|---|---|---|
layer | Overlay, Top | Top | Overlay sits above fullscreen windows; Top - the default - sits below them but behaves better with input methods. Layer-shell desktops only; window mode (experimental) has no layers. |
keyboard_mode | Exclusive, OnDemand | Exclusive | How the surface asks for keyboard focus. Exclusive always grabs the keyboard while shown; OnDemand is gentler but not auto-focused by every compositor. With hide_on_focus_loss off, a shown surface runs OnDemand whatever this key says: an exclusive grab held by a stay-open surface would keep winning the keyboard back from every other input. Exclusive applies only with the switch on. |
respect_panel | true/false | true | true places the drop-down inside the compositor's usable area instead of covering panels and docks, staying on its configured layer. Applies immediately - a shown drop-down re-places itself in place; a hidden one picks the value up on its next show. Layer-shell desktops only. In window mode (experimental) the switch is disabled and the setting has no effect: on GNOME the extension places the terminal inside the work area, below the top bar, so the panel is respected whatever the file says; on X11 the window manager places the window (known issues). On Windows the switch is disabled and pinned on: the taskbar is always kept clear, the drawer places inside the work area. |
With an autohide panel, the hidden panel still reserves its handle strip, so a respecting drop-down sits a few pixels below the screen edge. To cover panels and docks instead, write false - on a layer-shell desktop:
// config.ron
(
respect_panel: false,
)
Profiles
Profiles are named presets of what a tab runs. You manage them on Settings' Profiles page or hand-edit them in profiles.ron, in this shape:
// ~/.config/io.github.l1br3_io.dropterm/profiles.ron
(
profiles: [
(
name: "web-prod",
command: "ssh web-prod",
cwd: Some("/srv/web"),
color_scheme: Some("Dracula"),
font_size: Some(11),
scrollback_lines: Some(50000),
env: Some({
"DROPTERM_PROFILE": "prod",
"HTTP_PROXY": "http://bastion:3128",
}),
),
(name: "top", command: "htop"),
],
default_profile: Some("web-prod"),
)
Every unset field inherits the global value of the same name: fields resolve per field, never per profile, and a set field wins.
| Field | Default | What it does | Takes effect |
|---|---|---|---|
name | required | The profile's id - matched exactly, case-sensitively. | - |
command | required | The run line, split on whitespace like args. A profile whose command is blank (a hand-edited file) degrades to a plain shell and carries none of the profile's identity. | next spawn |
cwd | unset | Working directory; existence-checked at the spawn, never rewritten. | next spawn |
color_scheme | unset | A built-in scheme name for this profile's tabs - one name, independent of light/dark mode. | on the config echo |
font_size | unset | Font size in points for this profile's tabs. | on the config echo |
font_name | unset | Font family for this profile's tabs. | on the config echo |
opacity | unset | Background opacity for this profile's tabs. | on the config echo |
scrollback_lines | unset | Scrollback capacity; fixed when the terminal is created. | next spawn |
input_mode | unset | Rich (the ghost and the menu over the shell's line) or Native (the bare shell). | live |
input_ghost | unset | Ghost text over the prompt row. | on the config echo |
input_menu | unset | The completion menu. | on the config echo |
input_auto_popup | unset | The menu popping up as you type. | on the config echo |
input_descriptions | unset | Descriptions on the menu rows. | on the config echo |
input_badges | unset | Type badges on the menu rows. | on the config echo |
input_icons | unset | Icons on the menu rows. | on the config echo |
input_argument_hint | unset | The argument hint line above the menu. | on the config echo |
input_compact_rows | unset | Compact menu rows. | on the config echo |
autosuggestions_paths_enabled | unset | Path completion joining the suggestions. | on the config echo |
autosuggestions_commands_enabled | unset | Command-name completion joining the suggestions. | on the config echo |
autosuggestions_history_context | unset | History keeping its directory context. | on the config echo |
autosuggestions_delay_ms | unset | The suggest idle delay in milliseconds, any whole number up to 65535. | on the config echo |
images_enabled | unset | Inline images. | on the config echo |
env | unset | Extra environment variables, merged over the inherited environment at spawn. Values are verbatim strings - no expansion or interpolation, ever; keys must be non-empty and free of =. | next spawn |
plugins | unset | The ids of the plugins whose per-tab output (chips and titles, terminal events, script commands, context-menu rows) reaches this profile's tabs; unset runs every plugin. | next dispatch |
shell_integration | unset | Whether the profile's shells get the integration injected. | next spawn |
bell_notification_enabled | unset | Whether a bell in this profile's tabs posts a notification while the terminal is hidden. | at the next bell |
close_confirmation_enabled | unset | Whether closing one of this profile's tabs asks first while it runs a process. | at the next close |
| resolution | - | A profile deleted while its tabs run degrades them to the global picks field by field - never rewritten, never an error. The window background follows the active tab's resolution, so the fallback background moves with a tab switch. | - |
default_profile | unset | Sits beside the list in profiles.ron and names the profile plain new tabs launch: Ctrl+Shift+T, the tab bar +, the context menu's plain New Tab, a bare remote new-tab, and the fresh-startup tab all run it. A name the list no longer carries quietly falls back to the plain shell. Profiles are also launched six other ways - new-tab --profile NAME, the context menus' profile submenus and Switch Profile folders, and the tab bar +'s right-click dropdown. A Switch Profile pick respawns that tab in place under the chosen profile: the running command and scrollback are lost; the slot, the activation, and a pinned rename stay. | next spawn |
Keybindings
You customize keybindings in Settings' Keybindings page or by hand in keybinds.ron. custom_key_binds (default empty - all defaults) maps one action id to one binding. The full action-id table lives in keybindings:
// ~/.config/io.github.l1br3_io.dropterm/keybinds.ron
(
custom_key_binds: {
"copy": (modifiers: [Ctrl, Alt], key: "C"),
"hide": (modifiers: [], key: ""),
"activate_tab_3": (modifiers: [], key: "F2"),
},
)
A binding spells modifier names plus a key name:
| A binding's parts | |
|---|---|
| modifiers | Ctrl, Shift, Alt, Super |
| keys | single letters case-insensitive; named keys spelled out (Tab, PageUp, F1, Space) |
| Rule | |
|---|---|
| replacement | a custom binding replaces all of that action's default chords; removing the entry reverts to the defaults |
| an empty key | the cleared entry, as the "hide" line above: no chord fires the action until the entry is removed; write the modifiers list even when it is empty |
| a chord two actions claim | resolves to the later id in the file |
| unknown ids | skipped with a warning - never fatal |
| live | a write from Settings reaches the very next key press; a hand edit reaches the open tabs within a fraction of a second of the save |
Parked and reserved keys
One key loads and persists but changes no behavior:
output(default unset) is reserved for monitor selection - naming the Wayland output the drop-down shows on. Nothing reads it yet.
The completions data file
One more file can live in the config directory beside the three .ron files: completions.toml, the autosuggestions' subcommand and flag table. The embedded core tier is built into the binary (git, cargo, docker, systemctl, and npm among its commands). This file adds your own commands: a command you declare adds beside the built-ins, and a re-declared command replaces its built-in entry whole. A starting tier ships: data/completions.toml - ninety-three commands with menu descriptions, converted from withfig/autocomplete at a pinned version (MIT) with DropTerm's own CLI seated beside them. Copy it to the config directory and edit from there. The file reaches the screen only in rich mode: the ghost and the completions menu need input_mode set to Rich. Under native, the default, an entry suggests nothing.
# ~/.config/io.github.l1br3_io.dropterm/completions.toml
# One table per command. `name` is the command word the table
# answers for - through the alias map too, so a mapped alias
# re-targets here exactly as it does the built-ins.
[[commands]]
name = "gh"
# Subcommands complete the first argument seat (`gh pr` ghosts
# and lists them). Every entry is a `name` plus an optional
# `description` - the completions menu shows it beside the row,
# dimmed; the ghost ignores descriptions (it is text only).
[[commands.subcommands]]
name = "pr"
description = "Manage pull requests"
[[commands.subcommands]]
name = "pr-check"
# Long flags complete the flag seat from any argument position
# (`gh --rep` finishes `--repo`). A flag's other forms - short
# ones included - belong in its `aliases`, never as their own
# entries: short forms are recognized, never suggested.
[[commands.flags]]
name = "--repo"
description = "Select another repository"
The shape is recursive: a [[commands.subcommands]] entry is itself a command, taking the same keys and its own subcommands, flags, and positional args - docker compose and everything under it are described as docker is. The keys, at their depths:
| Key | On | Meaning |
|---|---|---|
aliases | command, subcommand | its other names, co for checkout |
hidden | command, subcommand, flag | suggested only when typed exactly |
priority | command, subcommand, flag | a 0-100 ordering hint |
filter_strategy | command, subcommand | "prefix", the default, or "fuzzy" |
aliases | flag | the flag's other forms - short forms included, so the table knows a typed -d is --detach |
persistent | flag | the flag rides into every subcommand |
exclusive_on | flag | flags that hide it once typed |
args | command, subcommand, flag | the positionals it consumes |
optional | an args entry | |
variadic | an args entry | consumes every following token |
command | an args entry | the argument is itself a command word - the sudo shape |
template | an args entry | "filepaths" or "folders" |
suggestions | an args entry | literal name + description entries |
Every key at every depth is optional with a default, and one rejection rule holds everywhere: an unknown key at any depth fails the whole file. The top level's subcommands and flags complete as they always have. The nested tiers ride the table for the completion walker.
Rules the loader holds:
| Loader rule | |
|---|---|
| No executable content - ever | the schema rejects unknown keys, so a file carrying a script field (or any key the format does not define) fails whole: DropTerm logs at debug level and answers with the built-in table, never a half-loaded one. |
| the file is optional | no file, an unreadable file, or an invalid file is exactly the built-in behavior - the embedded floor and the installed tier, unchanged |
| The installed tier is one file, first found | the loader walks the user data directory (~/.local/share on Linux) ahead of the system data directories, each under the app id, and reads the first completions-extended.toml it meets; a file at ~/.local/share/io.github.l1br3_io.dropterm/completions-extended.toml stands in for the packaged one whole, and Extended completions switches that file off with it. That seat belongs to the package; an override belongs in completions.toml, which replaces the one command it re-declares and leaves every other alone. |
| sorting | entries sort by name at load (the match policy - strict prefix, must extend, shortest wins, ties alphabetical - rides sorted lists); an unsorted file is fine |
| live | the file is watched alongside the .ron files, so saving it reloads the table, and open tabs pick it up at their next typed prefix; a new tab reads it fresh |