diff --git a/src/lib/FirstRun.svelte b/src/lib/FirstRun.svelte
index b03a556..f172047 100644
--- a/src/lib/FirstRun.svelte
+++ b/src/lib/FirstRun.svelte
@@ -1,20 +1,21 @@
@@ -37,15 +38,15 @@
start
-
+
stop
-
+
pause
-
+
@@ -54,8 +55,7 @@
- Live key capture isn't wired up yet - for now type the combination as text
- (F9, Ctrl+Shift+R, etc).
+ Click each field, then press your combo. Escape cancels.
@@ -90,18 +90,6 @@
color: #aaa;
font-size: 0.875rem;
}
- input {
- font: inherit;
- padding: 0.45rem 0.6rem;
- border: 1px solid #444;
- background: #222;
- color: inherit;
- border-radius: 4px;
- }
- input:focus {
- outline: none;
- border-color: #4a8;
- }
.row {
display: flex;
gap: 0.5rem;
diff --git a/src/lib/HotkeyInput.svelte b/src/lib/HotkeyInput.svelte
new file mode 100644
index 0000000..c2b4b4a
--- /dev/null
+++ b/src/lib/HotkeyInput.svelte
@@ -0,0 +1,125 @@
+
+
+
+
+ {#if capturing}
+ press a combo (Esc to cancel)
+ {:else if value}
+ {value}
+ {:else}
+ {placeholder}
+ {/if}
+
+ {#if value && !capturing}
+ ×
+ {/if}
+
+
+
diff --git a/src/lib/Settings.svelte b/src/lib/Settings.svelte
index 2b45773..f0759c7 100644
--- a/src/lib/Settings.svelte
+++ b/src/lib/Settings.svelte
@@ -1,6 +1,7 @@