Skip to content

Commit da08b38

Browse files
authored
Merge pull request #38 from zerebos/release/0.2.0
Release v0.2.0
2 parents d220a36 + f0adbd3 commit da08b38

14 files changed

Lines changed: 41 additions & 66 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<a href="https://zerebos.github.io/ghostty-config"><img src="./src/lib/images/ghost.png" height="128" alt="Ghostty Config"></a>
2+
<a href="https://zerebos.github.io/ghostty-config"><img src="./src/lib/images/icon.png" height="128" alt="Ghostty Config"></a>
33
<h1 align="center" style="border:0;">Ghostty Config</h1>
44
<p align="center">A beautiful intuitive configuration generator for <a href="https://ghostty.org/" target="_blank">Ghostty</a> terminal.</p>
55

@@ -28,7 +28,7 @@ This project is built with [Svelte](https://svelte.dev) + [TypeScript](https://w
2828

2929
- **Interactive settings editor:** Easily tweak fonts, colors, cursor styles, transparency, blur, and more.
3030
- **Font playground:** Experiment with JetBrains Mono, Nerd Fonts, or any custom font.
31-
- **Live previews:** See instant demos of cursors, selections, and color palettes.
31+
- **Live previews:** See instant demos of cursors, selections, app icons, and color palettes.
3232
- **Keybinding validation *(coming soon)*:** Ensure your shortcuts are conflict‑free.
3333
- **One‑click export:** Generate a clean Ghostty configuration file to drop into your setup.
3434
- **Automatic deployment:** Every push to main updates the hosted tool via GitHub Actions.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ghostty-config",
3-
"version": "0.1.2",
3+
"version": "0.2.0",
44
"description": "A beautiful config generator for Ghostty terminal.",
55
"author": "Zerebos",
66
"repository": {

src/lib/components/User.svelte

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<script lang="ts">
2-
import {page} from "$app/stores";
3-
import logo from "$lib/images/ghost.svg";
2+
import {page} from "$app/state";
3+
import logo from "$lib/images/avatar.png";
44
5-
const {route = "/", name = "Ghostty Config", subtext = "Community Tool"} = $props();
6-
const path = $derived($page.url.pathname);
5+
const {route = "/", name = "Ghostty Config"} = $props();
6+
const path = $derived(page.url.pathname);
77
88
const selected = $derived(path === route);
99
</script>
1010

1111
<a href={route} class="user-tab" class:selected>
1212
<div class="user-avatar">
13-
<img src={logo} alt="Ghostty Logo" />
13+
<img src={logo} alt="Ghostty Config Logo" />
1414
</div>
1515
<div class="user-label">
1616
<div class="user-name">{name}</div>
17-
<div class="user-subtext">{subtext}</div>
17+
<div class="user-subtext">by @zerebos</div>
1818
</div>
1919
</a>
2020

@@ -35,18 +35,18 @@
3535
}
3636
3737
.user-avatar img {
38-
height: 30px;
39-
width: 30px;
38+
height: 100%;
39+
width: 100%;
40+
border-radius: 50%;
41+
/* border: 2px solid inset var(--border-level-1); */
4042
}
4143
4244
.user-avatar {
4345
display: inline-flex;
4446
justify-content: center;
4547
align-items: center;
46-
background: linear-gradient(#03028f, #09043a);
4748
height: 40px;
4849
min-width: 40px;
49-
border-radius: 50%;
5050
/* border: 2px solid black; */
5151
/* box-shadow: 0 0 0 2px white; */
5252
}

src/lib/data/settings.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ const settings = [
146146
{id: "desktopNotifications", name: "Allow desktop notifications", type: "switch", value: true},
147147
{id: "configFile", name: "Additional config file", type: "text", value: ""},
148148
{id: "configDefaultFiles", name: "Load default config file", type: "switch", value: true},
149-
{id: "link", name: "Link handling", note: "Regex for making clickable links, curently disabled.", type: "text", value: "", disabled: true},
149+
{id: "link", name: "Link handling", note: "Regex for making clickable links, currently disabled.", type: "text", value: "", disabled: true},
150150
{id: "linkUrl", name: "Automatically link URLs", note: "Matching occurs while holding the control (Linux) or command (macOS) key.", type: "switch", value: true},
151151
{id: "linkPreviews", name: "Show link previews", note: "When set to `osc8`, previews are only shown for hyperlinks created with the OSC 8 sequence.", type: "dropdown", value: "true", options: ["true", "false", "osc8"]},
152-
{id: "undoTimeout", name: "Undo timeout", note: "Timeout for undo operations. Format like `1h30m`, `5s`, `500ms`.", type: "text"}
152+
{id: "undoTimeout", name: "Undo timeout", note: "Timeout for undo operations. Format like `1h30m`, `5s`, `500ms`.", type: "text", value: ""}
153153
]
154154
},
155155
{
@@ -560,7 +560,7 @@ const settings = [
560560
{
561561
id: "icon",
562562
name: "App Icon",
563-
note: "An app icon previewer has been added to the to-do list.",
563+
note: "If you choose the \"custom-style\" option, you can use any of the other icon settings to customize your icon with a live preview.",
564564
settings: [
565565
{id: "macosIcon", name: "Icon", note: "Custom style must specify both ghost and screen colors.", type: "dropdown", value: "official", options: ["official", "blueprint", "chalkboard", "microchip", "glass", "holographic", "paper", "retro", "xray", "custom", "custom-style"]},
566566
{id: "macosCustomIcon", name: "Icon file", note: "Only used when \"custom\" is selected above.", type: "text", value: ""},

src/lib/images/avatar.png

588 KB
Loading

src/lib/images/background.webp

-1.03 MB
Binary file not shown.

src/lib/images/ghost.png

-3.34 KB
Binary file not shown.

src/lib/images/ghost.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/lib/images/icon.png

545 KB
Loading

src/lib/stores/config.svelte.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ interface DefaultConfig {
143143
cursorOpacity: number;
144144
cursorStyle: string;
145145
cursorStyleBlink: string;
146-
cursorstring: string;
147146
cursorClickToMove: boolean;
148147
mouseHideWhileTyping: boolean;
149148
mouseShiftCapture: boolean;

0 commit comments

Comments
 (0)