Skip to content

Commit 45ea321

Browse files
Fix version string and add X11 wmclass hint
Version was incorrectly set to 0.1.0-chromatic-quantize despite nix-support being based on main. Added SDL_VIDEO_X11_WMCLASS for X11 icon matching alongside the existing Wayland hints. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cfa3fc8 commit 45ea321

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

flake.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
packages.${system} = {
109109
midimech = pkgs.stdenv.mkDerivation {
110110
pname = "midimech";
111-
version = "0.1.0-chromatic-quantize";
111+
version = "0.1.0";
112112
src = self;
113113

114114
nativeBuildInputs = [ pkgs.makeWrapper pkgs.pkg-config ];
@@ -140,9 +140,10 @@
140140
chmod +x $out/bin/midimech
141141
patchShebangs $out/bin/midimech
142142
143-
# Wrap to include runtime libraries + set SDL app ID for Wayland icon matching
143+
# Wrap to include runtime libraries + set Wayland app ID for icon matching
144144
wrapProgram $out/bin/midimech \
145145
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
146+
--set SDL_VIDEO_WAYLAND_WMCLASS midimech \
146147
--set SDL_APP_ID midimech
147148
148149
# Desktop entry for application launchers

0 commit comments

Comments
 (0)