Add an icon
183
data/icon.svg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
data/icons/128x128.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
data/icons/256x256.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
data/icons/32x32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
data/icons/48x48.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
data/icons/512x512.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
data/icons/64x64.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -163,6 +163,8 @@ fn build_ui(
|
|||
}
|
||||
});
|
||||
|
||||
window.set_icon_name(Some("nl.tactilemetrology.labs.XeniD"));
|
||||
|
||||
window.present();
|
||||
}
|
||||
|
||||
|
|
|
|||