Add an icon

This commit is contained in:
puck 2026-03-05 15:01:44 +00:00
parent c9f0243956
commit 4f8e65cff4
10 changed files with 189 additions and 0 deletions

183
data/icon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 26 KiB

BIN
data/icons/128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
data/icons/256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
data/icons/32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
data/icons/48x48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
data/icons/512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
data/icons/64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -2,6 +2,7 @@
Type=Application
Comment=DigiD eID client for Linux
Name=XeniD
Icon=nl.tactilemetrology.labs.XeniD
TryExec=xenid
Exec=xenid %u
StartupNotify=true

View file

@ -31,6 +31,9 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
install -D data/nl.tactilemetrology.labs.XeniD.desktop -t $out/share/applications
for i in 32x32 48x48 64x64 128x128 256x256 512x512; do
install -D data/icons/$i.png $out/share/icons/hicolor/$i/apps/nl.tactilemetrology.labs.XeniD.png
done
'';
meta = {

View file

@ -163,6 +163,8 @@ fn build_ui(
}
});
window.set_icon_name(Some("nl.tactilemetrology.labs.XeniD"));
window.present();
}