aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--readme.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..17f90a7
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,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.