Skip to content

Commit 3e7dc01

Browse files
committed
Release 0.1.4: build + package updates
1 parent c768b1a commit 3e7dc01

45 files changed

Lines changed: 1630 additions & 199 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rusty"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
authors = ["hexajohnny"]
55
edition = "2021"
66
build = "build.rs"
@@ -15,6 +15,7 @@ egui_extras = { version = "0.26", features = ["image"] }
1515
egui_tiles = "0.7.1"
1616
serde = { version = "1.0", features = ["derive"] }
1717
serde_json = "1.0"
18+
toml = "0.8"
1819
russh = { version = "0.57", default-features = false, features = ["ring", "flate2", "rsa"] }
1920
russh-sftp = "2.1.1"
2021
tokio = { version = "1", features = ["rt", "time", "net", "io-util", "fs"] }

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,18 @@ It focuses on:
1010
- Profile-based connections.
1111
- Theme support.
1212

13-
Theme format details: [THEMES.md](THEMES.md)
13+
## Theming
14+
15+
- UI chrome themes use `.thm` files in `./theme` (details: [THEMES.md](THEMES.md)).
16+
- Terminal color themes use WezTerm-compatible TOML schemes in `./term` (for example `term/tokyo-night.toml`).
17+
18+
Terminal theme behavior:
19+
- Open **Settings -> Terminal Colors** to browse scrollable theme cards.
20+
- Click a card to apply immediately (including existing terminal sessions).
21+
- Add your own `.toml` files to `./term`, then click **Reload from term/**.
22+
23+
WezTerm scheme reference:
24+
- https://wezterm.org/config/lua/wezterm.color/load_scheme.html
1425

1526
## Screenshots
1627

installer/Rusty.wxs

Lines changed: 75 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Package
44
Name="Rusty"
55
Manufacturer="hexajohnny"
6-
Version="0.1.3"
6+
Version="0.1.4"
77
UpgradeCode="{A77A6E2E-8A7F-4C9F-9CF0-9D44E1A44F1A}"
88
Language="1033"
99
Scope="perMachine">
@@ -19,6 +19,7 @@
1919
<StandardDirectory Id="$(var.ProgramFilesRoot)">
2020
<Directory Id="INSTALLFOLDER" Name="Rusty">
2121
<Directory Id="THEMEFOLDER" Name="theme" />
22+
<Directory Id="TERMFOLDER" Name="term" />
2223
</Directory>
2324
</StandardDirectory>
2425
<StandardDirectory Id="ProgramMenuFolder">
@@ -78,40 +79,101 @@
7879
</Component>
7980

8081
<Component Id="cmpThemeDark" Guid="*" Directory="THEMEFOLDER">
81-
<File Id="filThemeDark" Source="installer\\theme\\Dark.thm" />
82+
<File Id="filThemeDark" Source="dist\\theme\\Dark.thm" />
8283
</Component>
8384
<Component Id="cmpThemeLight" Guid="*" Directory="THEMEFOLDER">
84-
<File Id="filThemeLight" Source="installer\\theme\\Light.thm" />
85+
<File Id="filThemeLight" Source="dist\\theme\\Light.thm" />
8586
</Component>
8687
<Component Id="cmpThemeCrimsonDusk" Guid="*" Directory="THEMEFOLDER">
87-
<File Id="filThemeCrimsonDusk" Source="installer\\theme\\CrimsonDusk.thm" />
88+
<File Id="filThemeCrimsonDusk" Source="dist\\theme\\CrimsonDusk.thm" />
8889
</Component>
8990
<Component Id="cmpThemeEmeraldMist" Guid="*" Directory="THEMEFOLDER">
90-
<File Id="filThemeEmeraldMist" Source="installer\\theme\\EmeraldMist.thm" />
91+
<File Id="filThemeEmeraldMist" Source="dist\\theme\\EmeraldMist.thm" />
9192
</Component>
9293
<Component Id="cmpThemeForestNight" Guid="*" Directory="THEMEFOLDER">
93-
<File Id="filThemeForestNight" Source="installer\\theme\\ForestNight.thm" />
94+
<File Id="filThemeForestNight" Source="dist\\theme\\ForestNight.thm" />
9495
</Component>
9596
<Component Id="cmpThemeGraphite" Guid="*" Directory="THEMEFOLDER">
96-
<File Id="filThemeGraphite" Source="installer\\theme\\Graphite.thm" />
97+
<File Id="filThemeGraphite" Source="dist\\theme\\Graphite.thm" />
9798
</Component>
9899
<Component Id="cmpThemeMidnightBlue" Guid="*" Directory="THEMEFOLDER">
99-
<File Id="filThemeMidnightBlue" Source="installer\\theme\\MidnightBlue.thm" />
100+
<File Id="filThemeMidnightBlue" Source="dist\\theme\\MidnightBlue.thm" />
100101
</Component>
101102
<Component Id="cmpThemeMonochromeSlate" Guid="*" Directory="THEMEFOLDER">
102-
<File Id="filThemeMonochromeSlate" Source="installer\\theme\\MonochromeSlate.thm" />
103+
<File Id="filThemeMonochromeSlate" Source="dist\\theme\\MonochromeSlate.thm" />
103104
</Component>
104105
<Component Id="cmpThemeOceanBreeze" Guid="*" Directory="THEMEFOLDER">
105-
<File Id="filThemeOceanBreeze" Source="installer\\theme\\OceanBreeze.thm" />
106+
<File Id="filThemeOceanBreeze" Source="dist\\theme\\OceanBreeze.thm" />
106107
</Component>
107108
<Component Id="cmpThemeSandstone" Guid="*" Directory="THEMEFOLDER">
108-
<File Id="filThemeSandstone" Source="installer\\theme\\Sandstone.thm" />
109+
<File Id="filThemeSandstone" Source="dist\\theme\\Sandstone.thm" />
109110
</Component>
110111
<Component Id="cmpThemeSolarizedDark" Guid="*" Directory="THEMEFOLDER">
111-
<File Id="filThemeSolarizedDark" Source="installer\\theme\\SolarizedDark.thm" />
112+
<File Id="filThemeSolarizedDark" Source="dist\\theme\\SolarizedDark.thm" />
112113
</Component>
113114
<Component Id="cmpThemeSolarizedLight" Guid="*" Directory="THEMEFOLDER">
114-
<File Id="filThemeSolarizedLight" Source="installer\\theme\\SolarizedLight.thm" />
115+
<File Id="filThemeSolarizedLight" Source="dist\\theme\\SolarizedLight.thm" />
116+
</Component>
117+
118+
<Component Id="cmpTermAyuLight" Guid="*" Directory="TERMFOLDER">
119+
<File Id="filTermAyuLight" Source="dist\\term\\ayu-light.toml" />
120+
</Component>
121+
<Component Id="cmpTermCatppuccinLatte" Guid="*" Directory="TERMFOLDER">
122+
<File Id="filTermCatppuccinLatte" Source="dist\\term\\catppuccin-latte.toml" />
123+
</Component>
124+
<Component Id="cmpTermCatppuccinMocha" Guid="*" Directory="TERMFOLDER">
125+
<File Id="filTermCatppuccinMocha" Source="dist\\term\\catppuccin-mocha.toml" />
126+
</Component>
127+
<Component Id="cmpTermDracula" Guid="*" Directory="TERMFOLDER">
128+
<File Id="filTermDracula" Source="dist\\term\\dracula.toml" />
129+
</Component>
130+
<Component Id="cmpTermEverforestDark" Guid="*" Directory="TERMFOLDER">
131+
<File Id="filTermEverforestDark" Source="dist\\term\\everforest-dark.toml" />
132+
</Component>
133+
<Component Id="cmpTermEverforestLight" Guid="*" Directory="TERMFOLDER">
134+
<File Id="filTermEverforestLight" Source="dist\\term\\everforest-light.toml" />
135+
</Component>
136+
<Component Id="cmpTermGithubDark" Guid="*" Directory="TERMFOLDER">
137+
<File Id="filTermGithubDark" Source="dist\\term\\github-dark.toml" />
138+
</Component>
139+
<Component Id="cmpTermGithubLight" Guid="*" Directory="TERMFOLDER">
140+
<File Id="filTermGithubLight" Source="dist\\term\\github-light.toml" />
141+
</Component>
142+
<Component Id="cmpTermGruvboxDark" Guid="*" Directory="TERMFOLDER">
143+
<File Id="filTermGruvboxDark" Source="dist\\term\\gruvbox-dark.toml" />
144+
</Component>
145+
<Component Id="cmpTermGruvboxLight" Guid="*" Directory="TERMFOLDER">
146+
<File Id="filTermGruvboxLight" Source="dist\\term\\gruvbox-light.toml" />
147+
</Component>
148+
<Component Id="cmpTermKanagawa" Guid="*" Directory="TERMFOLDER">
149+
<File Id="filTermKanagawa" Source="dist\\term\\kanagawa.toml" />
150+
</Component>
151+
<Component Id="cmpTermMonokai" Guid="*" Directory="TERMFOLDER">
152+
<File Id="filTermMonokai" Source="dist\\term\\monokai.toml" />
153+
</Component>
154+
<Component Id="cmpTermNord" Guid="*" Directory="TERMFOLDER">
155+
<File Id="filTermNord" Source="dist\\term\\nord.toml" />
156+
</Component>
157+
<Component Id="cmpTermOneDark" Guid="*" Directory="TERMFOLDER">
158+
<File Id="filTermOneDark" Source="dist\\term\\one-dark.toml" />
159+
</Component>
160+
<Component Id="cmpTermPapercolorDark" Guid="*" Directory="TERMFOLDER">
161+
<File Id="filTermPapercolorDark" Source="dist\\term\\papercolor-dark.toml" />
162+
</Component>
163+
<Component Id="cmpTermPapercolorLight" Guid="*" Directory="TERMFOLDER">
164+
<File Id="filTermPapercolorLight" Source="dist\\term\\papercolor-light.toml" />
165+
</Component>
166+
<Component Id="cmpTermRosePine" Guid="*" Directory="TERMFOLDER">
167+
<File Id="filTermRosePine" Source="dist\\term\\rose-pine.toml" />
168+
</Component>
169+
<Component Id="cmpTermSolarizedDark" Guid="*" Directory="TERMFOLDER">
170+
<File Id="filTermSolarizedDark" Source="dist\\term\\solarized-dark.toml" />
171+
</Component>
172+
<Component Id="cmpTermSolarizedLight" Guid="*" Directory="TERMFOLDER">
173+
<File Id="filTermSolarizedLight" Source="dist\\term\\solarized-light.toml" />
174+
</Component>
175+
<Component Id="cmpTermTokyoNight" Guid="*" Directory="TERMFOLDER">
176+
<File Id="filTermTokyoNight" Source="dist\\term\\tokyo-night.toml" />
115177
</Component>
116178
</ComponentGroup>
117179
</Fragment>

installer/RustyBundle.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
33
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
4-
<?define Version="0.1.3" ?>
4+
<?define Version="0.1.4" ?>
55
<?define MsiX86="dist\\Rusty-$(var.Version)-x86.msi" ?>
66
<?define MsiX64="dist\\Rusty-$(var.Version)-x64.msi" ?>
77

installer/term/ayu-light.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
light = true
2+
comment = "Ayu Light"
3+
4+
[metadata]
5+
name = "Ayu Light"
6+
author = "Rusty"
7+
8+
[colors]
9+
foreground = "#5C6773"
10+
background = "#FAFAFA"
11+
cursor_bg = "#FF9940"
12+
cursor_fg = "#FAFAFA"
13+
cursor_border = "#FF9940"
14+
selection_bg = "#E6B450"
15+
selection_fg = "#1F2430"
16+
ansi = ["#000000", "#F51818", "#86B300", "#F2AE49", "#399EE6", "#A37ACC", "#4CBF99", "#5C6773"]
17+
brights = ["#828C99", "#FF3333", "#A6CC70", "#E7C547", "#4CBFEE", "#B89FE3", "#A3D9C9", "#1F2430"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
light = true
2+
comment = "Catppuccin Latte"
3+
4+
[metadata]
5+
name = "Catppuccin Latte"
6+
author = "Rusty"
7+
8+
[colors]
9+
foreground = "#4C4F69"
10+
background = "#EFF1F5"
11+
cursor_bg = "#4C4F69"
12+
cursor_fg = "#EFF1F5"
13+
cursor_border = "#4C4F69"
14+
selection_bg = "#CCD0DA"
15+
selection_fg = "#4C4F69"
16+
ansi = ["#5C5F77", "#D20F39", "#40A02B", "#DF8E1D", "#1E66F5", "#EA76CB", "#179299", "#ACB0BE"]
17+
brights = ["#6C6F85", "#D20F39", "#40A02B", "#DF8E1D", "#1E66F5", "#EA76CB", "#179299", "#BCC0CC"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
light = false
2+
comment = "Catppuccin Mocha"
3+
4+
[metadata]
5+
name = "Catppuccin Mocha"
6+
author = "Rusty"
7+
8+
[colors]
9+
foreground = "#CDD6F4"
10+
background = "#1E1E2E"
11+
cursor_bg = "#F5E0DC"
12+
cursor_fg = "#1E1E2E"
13+
cursor_border = "#F5E0DC"
14+
selection_bg = "#45475A"
15+
selection_fg = "#CDD6F4"
16+
ansi = ["#45475A", "#F38BA8", "#A6E3A1", "#F9E2AF", "#89B4FA", "#F5C2E7", "#94E2D5", "#BAC2DE"]
17+
brights = ["#585B70", "#F38BA8", "#A6E3A1", "#F9E2AF", "#89B4FA", "#F5C2E7", "#94E2D5", "#A6ADC8"]

installer/term/dracula.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
light = false
2+
comment = "Dracula"
3+
4+
[metadata]
5+
name = "Dracula"
6+
author = "Rusty"
7+
8+
[colors]
9+
foreground = "#F8F8F2"
10+
background = "#282A36"
11+
cursor_bg = "#F8F8F2"
12+
cursor_fg = "#282A36"
13+
cursor_border = "#F8F8F2"
14+
selection_bg = "#44475A"
15+
selection_fg = "#F8F8F2"
16+
ansi = ["#21222C", "#FF5555", "#50FA7B", "#F1FA8C", "#BD93F9", "#FF79C6", "#8BE9FD", "#F8F8F2"]
17+
brights = ["#6272A4", "#FF6E6E", "#69FF94", "#FFFFA5", "#D6ACFF", "#FF92DF", "#A4FFFF", "#FFFFFF"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
light = false
2+
comment = "Everforest Dark"
3+
4+
[metadata]
5+
name = "Everforest Dark"
6+
author = "Rusty"
7+
8+
[colors]
9+
foreground = "#D3C6AA"
10+
background = "#2D353B"
11+
cursor_bg = "#D3C6AA"
12+
cursor_fg = "#2D353B"
13+
cursor_border = "#D3C6AA"
14+
selection_bg = "#3D484D"
15+
selection_fg = "#D3C6AA"
16+
ansi = ["#343F44", "#E67E80", "#A7C080", "#DBBC7F", "#7FBBB3", "#D699B6", "#83C092", "#D3C6AA"]
17+
brights = ["#475258", "#E69875", "#A7C080", "#DBBC7F", "#7FBBB3", "#D699B6", "#83C092", "#E4E1CD"]

0 commit comments

Comments
 (0)