Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions extensions/ghostty/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
dist/
*.log
.DS_Store
7 changes: 7 additions & 0 deletions extensions/ghostty/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

## 0.1.0

- Initial Vicinae extension for Ghostty on Linux.
- Added commands for windows, tabs, workspaces, launch configurations, path opening, and config management.
- Added Ghostty icon and Linux/KDE-focused tab support.
21 changes: 21 additions & 0 deletions extensions/ghostty/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 domainus

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
54 changes: 54 additions & 0 deletions extensions/ghostty/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Ghostty for Vicinae

Control [Ghostty](https://ghostty.org/) from Vicinae on Linux.

## Commands

- **New Ghostty Window** — opens a new Ghostty window.
- **New Ghostty Tab** — focuses Ghostty and sends `Ctrl+Shift+T` to create a tab.
- **Focus Ghostty Window** — lists visible Ghostty windows and focuses the selected one.
- **Open Ghostty Launch Configuration** — runs saved YAML launch configurations.
- **Open Ghostty Workspace** — scans a parent directory for Git repositories and opens one in Ghostty.
- **Open with Ghostty** — opens a provided path in Ghostty.
- **Manage Ghostty Config** — view, edit, validate, and open your Ghostty config file.

## Requirements

- Ghostty installed and available at `/usr/bin/ghostty`, or set the **Ghostty Binary** preference.
- `wmctrl` for focusing Ghostty windows.
- KDE/KWin `qdbus` plus `ydotool` for the **New Ghostty Tab** command on Wayland.

Ghostty does not currently expose a stable Linux CLI action for creating a tab in an existing window. This extension therefore focuses Ghostty and sends the standard Ghostty new-tab shortcut (`Ctrl+Shift+T`). If that is not available, the command opens Ghostty and shows a failure toast.

## Launch configurations

Launch configurations are YAML files stored in:

```text
~/.config/vicinae/ghostty-launch-configs
```

Example:

```yaml
name: dev
windows:
- tabs:
- title: Shell
cwd: ~/Developer/my-project
commands:
- pwd
- git status
```

Commands in launch configurations are executed in Ghostty with `&&`. Only use launch configurations you trust.

## Preferences

- **Workspaces Parent Directory** — parent directory to scan for Git repositories. Defaults to `~/Developer`.
- **Workspace Scan Depth** — maximum depth for repository scanning.
- **Ghostty Binary** — path to the Ghostty executable.

## Notes

The window focus command uses `wmctrl`, which may be limited on some Wayland compositors. KDE Plasma works best because the tab command can use KWin scripting to focus Ghostty before sending the shortcut.
Binary file added extensions/ghostty/assets/extension-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading