aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
blob: 17f90a78040e5bb053e77aa87835fc4b1a601b29 (plain) (blame)
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
# Build

Linux (Ubuntu/Debian), Rust 1.94 or newer, Python 3, and a Vulkan-capable graphics driver:

```sh
sudo apt install build-essential pkg-config cmake clang libclang-dev \
  libfontconfig1-dev libfreetype-dev libxkbcommon-dev libxkbcommon-x11-dev \
  libwayland-dev libssl-dev libzstd-dev libxcb1-dev vulkan-tools
./build.sh
```

`./build.sh` builds the release binary, installs `~/.local/bin/ducky`, adds that directory to your shell's PATH, and installs **Ducky Shell** in your desktop app launcher. Open a new terminal to use `ducky`. Use `./build.sh --debug` for a development build, or `cargo build --locked` to build without installing.

# Screenshots

![Ducky Shell](assets/screenshots/ducky.png)

![Focus view with the bottom bar hidden](assets/screenshots/customized.png)

# Features

- Default violet theme, JetBrainsMono Nerd Font Mono, and a two-line Bash prompt with Git branch and exit status. Install the font for the matching appearance.
- Native Rust + GPUI rendering; PTY-backed login shell, ANSI/256/truecolor, alternate screen, Unicode and IME input.
- Integrated draggable tab bar with window controls and resize edges.
- `Ctrl+Shift+B` hides or restores the bottom bar; set `show_status_bar = false` in Lua to keep it hidden at launch. Change `status_bar_toggle` to customize the shortcut.
- Tabs: `Ctrl+Shift+T` opens, `Ctrl+Shift+W` closes, `Ctrl+Tab` cycles.
- Mouse selection, `Ctrl+Shift+C` copies selection (or visible screen), `Ctrl+Shift+V` pastes with bracketed-paste support.
- Mouse-wheel scrollback and `Shift+PageUp` / `Shift+PageDown`.
- Lua 5.4 configuration in `$XDG_CONFIG_HOME/ducky/config.lua` (defaults to `~/.config/ducky/config.lua`), created on first launch. Lua modules can live alongside it.
- Customize fonts, spacing, colors, ANSI palette, window dimensions, shell arguments, environment, startup commands, and shortcuts. The generated config contains examples. Lua scripts run with your user permissions.
- `Ctrl+Shift+R` reloads appearance and bindings; new tabs pick up shell/environment changes. `Ctrl+Shift++` / `Ctrl+Shift+-` changes font size.
- `ducky --check-config` validates Lua; `ducky --config-dir` prints its location.