diff --git a/pkgs/vcv-rack/default.nix b/pkgs/vcv-rack/default.nix index 5a038c1..d2a2386 100644 --- a/pkgs/vcv-rack/default.nix +++ b/pkgs/vcv-rack/default.nix @@ -25,26 +25,26 @@ let rev = "29e4f76ac53bef048938754f32231d7836401f79"; sha256 = "084csgqa6f1a270bhybjayrh3mpyi2jimc87qkdgsqcp8ycsx1l1"; }; - xmonad-patch = writeText "xmonad-workaround.patch" '' - --- a/src/settings.cpp - +++ b/src/settings.cpp - @@ -20,6 +20,7 @@ static json_t *settingsToJson() { - json_t *tokenJ = json_string(gToken.c_str()); - json_object_set_new(rootJ, "token", tokenJ); + # xmonad-patch = writeText "xmonad-workaround.patch" '' + # --- a/src/settings.cpp + # +++ b/src/settings.cpp + # @@ -20,6 +20,7 @@ static json_t *settingsToJson() { + # json_t *tokenJ = json_string(gToken.c_str()); + # json_object_set_new(rootJ, "token", tokenJ); - + /* - if (!windowIsMaximized()) { - // windowSize - Vec windowSize = windowGetWindowSize(); - @@ -31,6 +32,7 @@ static json_t *settingsToJson() { - json_t *windowPosJ = json_pack("[f, f]", windowPos.x, windowPos.y); - json_object_set_new(rootJ, "windowPos", windowPosJ); - } - + */ + # + /* + # if (!windowIsMaximized()) { + # // windowSize + # Vec windowSize = windowGetWindowSize(); + # @@ -31,6 +32,7 @@ static json_t *settingsToJson() { + # json_t *windowPosJ = json_pack("[f, f]", windowPos.x, windowPos.y); + # json_object_set_new(rootJ, "windowPos", windowPosJ); + # } + # + */ - // opacity - float opacity = gToolbar->wireOpacitySlider->value; - ''; + # // opacity + # float opacity = gToolbar->wireOpacitySlider->value; + # ''; in with stdenv.lib; stdenv.mkDerivation rec { name = "VCV-Rack-${version}";