Skip to content

Commit e06dcfe

Browse files
committed
Add foot terminal template
1 parent 05bd013 commit e06dcfe

5 files changed

Lines changed: 29 additions & 1 deletion

File tree

app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ type ExportThemeRequest struct {
836836
// allExportableApps is the full set of app names that can be exported.
837837
var allExportableApps = map[string]bool{
838838
"alacritty": true, "btop": true, "chromium": true, "colors": true,
839-
"ghostty": true, "gtk": true, "hyprland": true, "hyprlock": true,
839+
"foot": true, "ghostty": true, "gtk": true, "hyprland": true, "hyprlock": true,
840840
"icons": true, "kitty": true, "mako": true, "neovim": true,
841841
"swayosd": true, "vencord": true, "vscode": true, "walker": true,
842842
"warp": true, "waybar": true, "wofi": true, "zed": true,

frontend/src/lib/components/layout/ActionBar.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
label: 'Terminals',
8989
apps: [
9090
{key: 'alacritty', name: 'Alacritty'},
91+
{key: 'foot', name: 'Foot'},
9192
{key: 'ghostty', name: 'Ghostty'},
9293
{key: 'kitty', name: 'Kitty'},
9394
{key: 'warp', name: 'Warp'},

frontend/src/lib/constants/apps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const APP_LABELS: Record<string, string> = {
3838
btop: 'Btop',
3939
chromium: 'Chromium',
4040
colors: 'Colors (.toml)',
41+
foot: 'Foot',
4142
ghostty: 'Ghostty',
4243
hyprland: 'Hyprland',
4344
hyprlock: 'Hyprlock',

internal/theme/writer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ var templateAppNameMap = map[string]string{
1818
"alacritty.toml": "alacritty",
1919
"btop.theme": "btop",
2020
"chromium.theme": "chromium",
21+
"foot.ini": "foot",
2122
"ghostty.conf": "ghostty",
2223
"hyprland.conf": "hyprland",
2324
"hyprlock.conf": "hyprlock",

templates/foot.ini

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[colors-dark]
2+
foreground={foreground.strip}
3+
background={background.strip}
4+
selection-foreground={selection_foreground.strip}
5+
selection-background={selection_background.strip}
6+
7+
cursor={background.strip} {cursor.strip}
8+
9+
regular0={bg.strip}
10+
regular1={red.strip}
11+
regular2={green.strip}
12+
regular3={yellow.strip}
13+
regular4={blue.strip}
14+
regular5={purple.strip}
15+
regular6={cyan.strip}
16+
regular7={fg.strip}
17+
18+
bright0={muted.strip}
19+
bright1={bright_red.strip}
20+
bright2={bright_green.strip}
21+
bright3={bright_yellow.strip}
22+
bright4={bright_blue.strip}
23+
bright5={bright_purple.strip}
24+
bright6={bright_cyan.strip}
25+
bright7={bright_fg.strip}

0 commit comments

Comments
 (0)