Skip to content

Commit dfe8e9d

Browse files
Add a logo (#643)
* add logo Co-authored-by: Niklas Schrötler <privat@nschroetler.de> * replace icon * add logo to docs --------- Co-authored-by: Niklas Schrötler <privat@nschroetler.de>
1 parent 7b405b1 commit dfe8e9d

File tree

12 files changed

+124
-4
lines changed

12 files changed

+124
-4
lines changed

Launcher/Launcher/Launcher.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
99
<AssemblyName>NixOS</AssemblyName>
1010
<Version>1.3.3.7</Version>
11-
<ApplicationIcon>nixos.ico</ApplicationIcon>
11+
<ApplicationIcon>..\..\assets\nixos.ico</ApplicationIcon>
1212
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1313
<AnalysisLevel>latest-all</AnalysisLevel>
1414
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
@@ -23,7 +23,7 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26-
<Content Include="nixos.ico" />
26+
<Content Include="..\..\assets\nixos.ico" />
2727
<AdditionalFiles Include="NativeMethods.json" />
2828
</ItemGroup>
2929

Launcher/Launcher/nixos.ico

-67 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1 align=center>
2-
NixOS-WSL<br />
2+
<img src="assets/NixOS-WSL.svg" alt="NixOS-WSL" width="500rem" /><br />
33
<a href="https://matrix.to/#/#wsl:nixos.org"><img src="https://img.shields.io/matrix/wsl:nixos.org?server_fqdn=matrix.org&logo=matrix" alt="Matrix Chat" /></a>
44
<a href="https://github.com/NixOS/nixpkgs/tree/nixos-24.11"><img src="https://img.shields.io/badge/nixpkgs-24.11-brightgreen" alt="nixpkgs 24.11" /></a>
55
<a href="https://github.com/nix-community/NixOS-WSL/releases"><img alt="Downloads" src="https://img.shields.io/github/downloads/nix-community/NixOS-WSL/total"></a>

assets/NixOS-WSL-flake-safearea.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/NixOS-WSL-flake-tight.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/NixOS-WSL.ico

150 KB
Binary file not shown.

assets/NixOS-WSL.svg

Lines changed: 106 additions & 0 deletions
Loading

docs/book.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ title = "NixOS-WSL"
66

77
[output.html]
88
additional-css = ["custom.css"]
9+
additional-js = ["custom.js"]
910
edit-url-template = "https://github.com/nix-community/nixos-wsl/tree/main/docs/{path}"
1011
git-repository-url = "https://github.com/nix-community/nixos-wsl"

docs/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@
1111
html {
1212
font-family: "Segoe UI", "Open Sans", sans-serif;
1313
}
14+
15+
img.menu-title {
16+
height: 3ex;
17+
align-self: center;
18+
}

docs/custom.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[...document.getElementsByClassName("menu-title")].forEach(it => {
2+
it.outerHTML = `
3+
<img class="menu-title" src="./NixOS-WSL.svg" alt="NixOS-WSL" />
4+
`;
5+
});

docs/src/NixOS-WSL.svg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../assets/NixOS-WSL.svg

modules/build-tarball.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ with builtins; with lib;
33
let
44
cfg = config.wsl.tarball;
55

6-
icon = ../Launcher/Launcher/nixos.ico;
6+
icon = ../assets/NixOS-WSL.ico;
77
iconPath = "/etc/nixos.ico";
88

99
wsl-distribution-conf = pkgs.writeText "wsl-distribution.conf" (

0 commit comments

Comments
 (0)